sklearn.naive_bayes#

Naive Bayes algorithms.

These are supervised learning methods based on applying Bayes’ theorem with strong (naive) feature independence assumptions.

User guide. See the Naive Bayes section for further details.

BernoulliNB

Naive Bayes classifier for multivariate Bernoulli models.

CategoricalNB

Naive Bayes classifier for categorical features.

ComplementNB

The Complement Naive Bayes classifier described in Rennie et al. (2003).

GaussianNB

Gaussian Naive Bayes (GaussianNB).

MultinomialNB

Naive Bayes classifier for multinomial models.