NaiveBayesModel {MachineShop} | R Documentation |
Computes the conditional a-posterior probabilities of a categorical class variable given independent predictor variables using Bayes rule.
NaiveBayesModel(laplace = 0)
laplace |
positive numeric controlling Laplace smoothing. |
factor
Further model details can be found in the source link below.
MLModel
class object.
## Requires prior installation of suggested package e1071 to run fit(Species ~ ., data = iris, model = NaiveBayesModel)