pyspark.mllib.fpm.
FPGrowth
A Parallel FP-growth algorithm to mine frequent itemsets.
New in version 1.4.0.
Methods
train(data[, minSupport, numPartitions])
train
Computes an FP-Growth model that contains frequent itemsets.
Methods Documentation
pyspark.RDD
The input data set, each element contains a transaction.
The minimal support level. (default: 0.3)
The number of partitions used by parallel FP-growth. A value of -1 will use the same number as input data. (default: -1)