Skip to content

Commit 874c9c0

Browse files
committed
[SPARK-25866][ML] Update KMeans formatVersion
1 parent ff4bb83 commit 874c9c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class KMeansModel (@Since("1.0.0") val clusterCenters: Array[Vector],
113113
KMeansModel.SaveLoadV2_0.save(sc, this, path)
114114
}
115115

116-
override protected def formatVersion: String = "1.0"
116+
override protected def formatVersion: String = "2.0"
117117
}
118118

119119
@Since("1.4.0")

0 commit comments

Comments
 (0)