-
- Downloads
[SPARK-14303][ML][SPARKR] Define and use KMeansWrapper for SparkR::kmeans
## What changes were proposed in this pull request? Define and use ```KMeansWrapper``` for ```SparkR::kmeans```. It's only the code refactor for the original ```KMeans``` wrapper. ## How was this patch tested? Existing tests. cc mengxr Author: Yanbo Liang <ybliang8@gmail.com> Closes #12039 from yanboliang/spark-14059.
Showing
- R/pkg/R/mllib.R 62 additions, 29 deletionsR/pkg/R/mllib.R
- mllib/src/main/scala/org/apache/spark/ml/r/KMeansWrapper.scala 85 additions, 0 deletions.../src/main/scala/org/apache/spark/ml/r/KMeansWrapper.scala
- mllib/src/main/scala/org/apache/spark/ml/r/SparkRWrappers.scala 1 addition, 51 deletions...src/main/scala/org/apache/spark/ml/r/SparkRWrappers.scala
Loading
Please register or sign in to comment