-
- Downloads
[SPARK-17389][FOLLOW-UP][ML] Change KMeans k-means|| default init steps from 5 to 2.
## What changes were proposed in this pull request? #14956 reduced default k-means|| init steps to 2 from 5 only for spark.mllib package, we should also do same change for spark.ml and PySpark. ## How was this patch tested? Existing tests. Author: Yanbo Liang <ybliang8@gmail.com> Closes #15050 from yanboliang/spark-17389.
Showing
- mllib/src/main/scala/org/apache/spark/ml/clustering/KMeans.scala 2 additions, 2 deletions...rc/main/scala/org/apache/spark/ml/clustering/KMeans.scala
- mllib/src/test/scala/org/apache/spark/ml/clustering/KMeansSuite.scala 1 addition, 1 deletion...st/scala/org/apache/spark/ml/clustering/KMeansSuite.scala
- python/pyspark/ml/clustering.py 5 additions, 5 deletionspython/pyspark/ml/clustering.py
- python/pyspark/mllib/clustering.py 3 additions, 3 deletionspython/pyspark/mllib/clustering.py
Loading
Please register or sign in to comment