spark-instrumented-optimizer/python/pyspark/mllib
Yanbo Liang f4f39981f4 [SPARK-6827] [MLLIB] Wrap FPGrowthModel.freqItemsets and make it consistent with Java API
Make PySpark ```FPGrowthModel.freqItemsets``` consistent with Java/Scala API like ```MatrixFactorizationModel.userFeatures```
It return a RDD with each tuple is composed of an array and a long value.
I think it's difficult to implement namedtuples to wrap the output because items of freqItemsets can be any type with arbitrary length which is tedious to impelement corresponding SerDe function.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #5614 from yanboliang/spark-6827 and squashes the following commits:

da8c404 [Yanbo Liang] use namedtuple
5532e78 [Yanbo Liang] Wrap FPGrowthModel.freqItemsets and make it consistent with Java API
2015-04-22 17:22:26 -07:00
..
stat [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
__init__.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
classification.py [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00
clustering.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
common.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
evaluation.py [SPARK-6090][MLLIB] add a basic BinaryClassificationMetrics to PySpark/MLlib 2015-03-05 11:50:09 -08:00
feature.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
fpm.py [SPARK-6827] [MLLIB] Wrap FPGrowthModel.freqItemsets and make it consistent with Java API 2015-04-22 17:22:26 -07:00
linalg.py [SPARK-6845] [MLlib] [PySpark] Add isTranposed flag to DenseMatrix 2015-04-21 14:36:50 -07:00
rand.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00
recommendation.py [SPARK-7036][MLLIB] ALS.train should support DataFrames in PySpark 2015-04-21 16:44:52 -07:00
regression.py [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00
tests.py [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00
tree.py [SPARK-6953] [PySpark] speed up python tests 2015-04-21 17:49:55 -07:00
util.py [SPARK-4897] [PySpark] Python 3 support 2015-04-16 16:20:57 -07:00