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
getAlgoName, getCreatedAt, getFeatureColumns, getLabelColumn, getParams, getTable, setAlgoName, setCreatedAt, setFeatureColumns, setId, setLabelColumn, setParams, setTable, toString
public SVMClassificationModel(String modelId, org.apache.spark.mllib.classification.SVMModel model)
modelId
- the model idmodel
- the modelCopyright © 2014–2016 Apache Software Foundation. All rights reserved.