Skip to content

Commit b86018d

Browse files
committed
Remove setRun and fix PowerIterationClustering failed test.
Conflicts: mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala
1 parent 387d818 commit b86018d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ object PowerIterationClustering extends Logging {
271271
val points = v.mapValues(x => Vectors.dense(x)).cache()
272272
val model = new KMeans()
273273
.setK(k)
274-
.setRuns(5)
275274
.setSeed(0L)
276275
.run(points.values)
277276
points.mapValues(p => model.predict(p)).cache()

0 commit comments

Comments
 (0)