|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class NaiveBayesClassificationModel
The Class NaiveBayesClassificationModel.
| Constructor Summary | |
|---|---|
NaiveBayesClassificationModel(String modelId,
org.apache.spark.mllib.classification.NaiveBayesModel model)
Instantiates a new naive bayes classification model. |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.lens.ml.spark.models.BaseSparkClassificationModel |
|---|
getId, predict |
| Methods inherited from class org.apache.lens.ml.ClassifierBaseModel |
|---|
getFeatureVector |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NaiveBayesClassificationModel(String modelId,
org.apache.spark.mllib.classification.NaiveBayesModel model)
modelId - the model idmodel - the model
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||