Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/8279#discussion_r37427822
  
    --- Diff: docs/mllib-frequent-pattern-mining.md ---
    @@ -133,6 +134,36 @@ for (AssociationRules.Rule<String> rule
     {% endhighlight %}
     
     </div>
    +
    +<div data-lang="python" markdown="1">
    +
    +[`FPGrowth`](api/python/pyspark.mllib.html#pyspark.mllib.fpm.FPGrowth) 
implements the
    +FP-growth algorithm.
    +It take an `RDD` of transactions, where each transaction is an `List` of 
items of a generic type.
    +Calling `FPGrowth.train` with transactions returns an
    
+[`FPGrowthModel`](api/python/pyspark.mllib.html#pyspark.mllib.fpm.FPGrowthModel)
    +that stores the frequent itemsets with their frequencies. The following
    +example illustrates how to mine frequent itemsets and association rules
    --- End diff --
    
    `Association rules` is not available in Python yet.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to