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.
|
Modifier and Type | Method and Description |
---|---|
Integer |
predict(Object... args)
Predict.
|
getAlgoName, getCreatedAt, getFeatureColumns, getId, getLabelColumn, getParams, getTable, setAlgoName, setCreatedAt, setFeatureColumns, setId, setLabelColumn, setParams, setTable, toString
public KMeansClusteringModel(String modelId, org.apache.spark.mllib.clustering.KMeansModel model)
modelId
- the model idmodel
- the modelCopyright © 2014–2018 Apache Software Foundation. All rights reserved.