public class KMeansClusteringModel extends MLModel<Integer>
Constructor and Description |
---|
KMeansClusteringModel(String modelId,
org.apache.spark.mllib.clustering.KMeansModel model)
Instantiates a new k means clustering model.
|
public KMeansClusteringModel(String modelId, org.apache.spark.mllib.clustering.KMeansModel model)
modelId
- the model idmodel
- the modelCopyright © 2014–2015 Apache Software Foundation. All rights reserved.