NaiveBayesModel new¶
-
__init__
(self, name=None)¶ Create a ‘new’ instance of a Naive Bayes model
Parameters: name : unicode (default=None)
User supplied name.
Returns: : <bound method AtkEntityType.__name__ of <trustedanalytics.rest.jsonschema.AtkEntityType object at 0x7f9e68702090>>
Naive Bayes [R43] is a probabilistic classifier with strong independence assumptions between features. It computes the conditional probability distribution of each feature given label, and then applies Bayes’ theorem to compute the conditional probability distribution of a label given an observation, and use it for prediction. The Naive Bayes model is initialized, trained on columns of a frame, and used to predict the value of the dependent variable given the independent observations of a frame. This model runs the MLLib implementation of Naive Bayes [R44].
footnotes
[R43] https://en.wikipedia.org/wiki/Naive_Bayes_classifier [R44] https://spark.apache.org/docs/1.3.0/mllib-naive-bayes.html