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 e721dfe commit 07f8554Copy full SHA for 07f8554
mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala
@@ -167,7 +167,6 @@ class KMeans private (
167
*/
168
def setInitialModel(model: KMeansModel): this.type = {
169
require(model.k == k, "mismatched cluster count")
170
- this.setRuns(1)
171
logWarning("Ignoring runs; one run is allowed when initialModel is given.")
172
initialModel = Some(model)
173
this
0 commit comments