naiveBayes_train | R Documentation |
Returns conditional means and standard deviations per class as well as a
table with the global proportions of each class in the dataset. This is
mostly useful because the output can be passed on to naiveBayes
to save time if naiveBayes() is called in a loop with the same training
dataset.
naiveBayes_train(formula, data)
formula |
outcome ~ predictor1 + predictor1 + ... |
data |
training dataset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.