-
- Downloads
[SPARK-17389][ML][MLLIB] KMeans speedup with better choice of k-means|| init steps = 2
## What changes were proposed in this pull request? Reduce default k-means|| init steps to 2 from 5. See JIRA for discussion. See also https://github.com/apache/spark/pull/14948 ## How was this patch tested? Existing tests. Author: Sean Owen <sowen@cloudera.com> Closes #14956 from srowen/SPARK-17389.2.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala 3 additions, 3 deletions...main/scala/org/apache/spark/mllib/clustering/KMeans.scala
- mllib/src/test/scala/org/apache/spark/mllib/clustering/PowerIterationClusteringSuite.scala 3 additions, 7 deletions...park/mllib/clustering/PowerIterationClusteringSuite.scala
Please register or sign in to comment