Skip to content

Commit cd6c07c

Browse files
committed
fixed scala style to run tests
1 parent f75b988 commit cd6c07c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mllib/src/main/scala/org/apache/spark/mllib/export/pmml/KMeansPMMLModelExport.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ class KMeansPMMLModelExport(model : KMeansModel) extends PMMLModelExport{
9393
.withType(Type.REAL)
9494
.withN(clusterCenter.size)
9595
.withValue(model.clusterCenters(i).toArray.mkString(" ")))
96-
//we don't have the size of the single cluster but only the centroids (withValue)
97-
//.withSize(value)
96+
// we don't have the size of the single cluster but only the centroids (withValue)
97+
// .withSize(value)
98+
9899
clusteringModel.withClusters(cluster)
99100
}
100101

0 commit comments

Comments
 (0)