-
- Downloads
[SPARK-19825][R][ML] spark.ml R API for FPGrowth
## What changes were proposed in this pull request? Adds SparkR API for FPGrowth: [SPARK-19825](https://issues.apache.org/jira/browse/SPARK-19825): - `spark.fpGrowth` -model training. - `freqItemsets` and `associationRules` methods with new corresponding generics. - Scala helper: `org.apache.spark.ml.r. FPGrowthWrapper` - unit tests. ## How was this patch tested? Feature specific unit tests. Author: zero323 <zero323@users.noreply.github.com> Closes #17170 from zero323/SPARK-19825.
Showing
- R/pkg/DESCRIPTION 1 addition, 0 deletionsR/pkg/DESCRIPTION
- R/pkg/NAMESPACE 4 additions, 1 deletionR/pkg/NAMESPACE
- R/pkg/R/generics.R 12 additions, 0 deletionsR/pkg/R/generics.R
- R/pkg/R/mllib_fpm.R 158 additions, 0 deletionsR/pkg/R/mllib_fpm.R
- R/pkg/R/mllib_utils.R 2 additions, 0 deletionsR/pkg/R/mllib_utils.R
- R/pkg/inst/tests/testthat/test_mllib_fpm.R 83 additions, 0 deletionsR/pkg/inst/tests/testthat/test_mllib_fpm.R
- mllib/src/main/scala/org/apache/spark/ml/r/FPGrowthWrapper.scala 86 additions, 0 deletions...rc/main/scala/org/apache/spark/ml/r/FPGrowthWrapper.scala
- mllib/src/main/scala/org/apache/spark/ml/r/RWrappers.scala 2 additions, 0 deletionsmllib/src/main/scala/org/apache/spark/ml/r/RWrappers.scala
Loading
Please register or sign in to comment