Skip to content

Commit

Permalink
Add versionadded to FPGrowth and FreqItemset
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-iskw committed Sep 17, 2015
1 parent 817b168 commit f1ce652
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/pyspark/mllib/fpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class FPGrowth(object):
.. note:: Experimental
A Parallel FP-growth algorithm to mine frequent itemsets.
.. versionadded:: 1.4.0
"""

@classmethod
Expand All @@ -78,6 +80,8 @@ def train(cls, data, minSupport=0.3, numPartitions=-1):
class FreqItemset(namedtuple("FreqItemset", ["items", "freq"])):
"""
Represents an (items, freq) tuple.
.. versionadded:: 1.4.0
"""


Expand Down

0 comments on commit f1ce652

Please sign in to comment.