org.apache.lens.ml.spark.models
Class NaiveBayesClassificationModel
java.lang.Object
org.apache.lens.ml.MLModel<Double>
org.apache.lens.ml.ClassifierBaseModel
org.apache.lens.ml.spark.models.BaseSparkClassificationModel<org.apache.spark.mllib.classification.NaiveBayesModel>
org.apache.lens.ml.spark.models.NaiveBayesClassificationModel
- All Implemented Interfaces:
- Serializable
public class NaiveBayesClassificationModel
- extends BaseSparkClassificationModel<org.apache.spark.mllib.classification.NaiveBayesModel>
The Class NaiveBayesClassificationModel.
- See Also:
- Serialized Form
Constructor Summary |
NaiveBayesClassificationModel(String modelId,
org.apache.spark.mllib.classification.NaiveBayesModel model)
Instantiates a new naive bayes classification model. |
NaiveBayesClassificationModel
public NaiveBayesClassificationModel(String modelId,
org.apache.spark.mllib.classification.NaiveBayesModel model)
- Instantiates a new naive bayes classification model.
- Parameters:
modelId
- the model idmodel
- the model
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.