MODEL
- the generic typepublic class BaseSparkClassificationModel<MODEL extends org.apache.spark.mllib.classification.ClassificationModel> extends ClassifierBaseModel
Constructor and Description |
---|
BaseSparkClassificationModel(String modelId,
MODEL model)
Instantiates a new base spark classification model.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
The id.
|
Double |
predict(Object... args)
Predict.
|
getFeatureVector
getAlgoName, getCreatedAt, getFeatureColumns, getLabelColumn, getParams, getTable, setAlgoName, setCreatedAt, setFeatureColumns, setId, setLabelColumn, setParams, setTable, toString
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.