We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387d818 commit b86018dCopy full SHA for b86018d
mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala
@@ -271,7 +271,6 @@ object PowerIterationClustering extends Logging {
271
val points = v.mapValues(x => Vectors.dense(x)).cache()
272
val model = new KMeans()
273
.setK(k)
274
- .setRuns(5)
275
.setSeed(0L)
276
.run(points.values)
277
points.mapValues(p => model.predict(p)).cache()
0 commit comments