public class SVMClassificationModel extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.SVMModel>
Constructor and Description |
---|
SVMClassificationModel(String modelId,
org.apache.spark.mllib.classification.SVMModel model)
Instantiates a new SVM classification model.
|
getId, predict
getFeatureVector
public SVMClassificationModel(String modelId, org.apache.spark.mllib.classification.SVMModel model)
modelId
- the model idmodel
- the modelCopyright © 2014–2015 Apache Software Foundation. All rights reserved.