Skip to contents

Naive Bayes Classifiers

Functions for fitting the Naive Bayes models.

naive_bayes(<default>) naive_bayes(<formula>)
Naive Bayes Classifier
bernoulli_naive_bayes()
Bernoulli Naive Bayes Classifier
multinomial_naive_bayes()
Multinomial Naive Bayes Classifier
poisson_naive_bayes()
Poisson Naive Bayes Classifier
gaussian_naive_bayes()
Gaussian Naive Bayes Classifier
nonparametric_naive_bayes()
Non-Parametric Naive Bayes Classifier

Predict functions

Functions used for classification or obtaining posterior probabilities.

`%class%` `%prob%`
Predict Method for Family of Naive Bayes Objects
predict(<naive_bayes>)
Predict Method for naive_bayes Objects
predict(<bernoulli_naive_bayes>)
Predict Method for bernoulli_naive_bayes Objects
predict(<multinomial_naive_bayes>)
Predict Method for multinomial_naive_bayes Objects
predict(<poisson_naive_bayes>)
Predict Method for poisson_naive_bayes Objects
predict(<gaussian_naive_bayes>)
Predict Method for gaussian_naive_bayes Objects
predict(<nonparametric_naive_bayes>)
Predict Method for nonparametric_naive_bayes Objects

Plotting functions

Functions used for visualisation of class conditional distributions.

plot(<naive_bayes>)
Plot Method for naive_bayes Objects
plot(<bernoulli_naive_bayes>)
Plot Method for bernoulli_naive_bayes Objects
plot(<poisson_naive_bayes>)
Plot Method for poisson_naive_bayes Objects
plot(<gaussian_naive_bayes>)
Plot Method for gaussian_naive_bayes Objects
plot(<nonparametric_naive_bayes>)
Plot Method for nonparametric_naive_bayes Objects

Helper functions

tables()
Browse Tables of Naive Bayes Classifier
get_cond_dist()
Obtain names of class conditional distribution assigned to features
coef(<bernoulli_naive_bayes>) coef(<multinomial_naive_bayes>) coef(<poisson_naive_bayes>) coef(<gaussian_naive_bayes>)
Extract Model Coefficients

General information about the package