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 f75b988 commit cd6c07cCopy full SHA for cd6c07c
mllib/src/main/scala/org/apache/spark/mllib/export/pmml/KMeansPMMLModelExport.scala
@@ -93,8 +93,9 @@ class KMeansPMMLModelExport(model : KMeansModel) extends PMMLModelExport{
93
.withType(Type.REAL)
94
.withN(clusterCenter.size)
95
.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)
+ // we don't have the size of the single cluster but only the centroids (withValue)
+ // .withSize(value)
98
+
99
clusteringModel.withClusters(cluster)
100
}
101
0 commit comments