public class NaiveBayesClassificationModel extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.NaiveBayesModel>
Constructor and Description |
---|
NaiveBayesClassificationModel(String modelId,
org.apache.spark.mllib.classification.NaiveBayesModel model)
Instantiates a new naive bayes classification model.
|
getId, predict
getFeatureVector
getAlgoName, getCreatedAt, getFeatureColumns, getLabelColumn, getParams, getTable, setAlgoName, setCreatedAt, setFeatureColumns, setId, setLabelColumn, setParams, setTable, toString
public NaiveBayesClassificationModel(String modelId, org.apache.spark.mllib.classification.NaiveBayesModel model)
modelId
- the model idmodel
- the modelCopyright © 2014–2015 Apache Software Foundation. All rights reserved.