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, predictgetFeatureVectorpublic NaiveBayesClassificationModel(String modelId, org.apache.spark.mllib.classification.NaiveBayesModel model)
modelId - the model idmodel - the modelCopyright © 2014–2015 Apache Software Foundation. All rights reserved.