Description Usage Arguments Value See Also Examples
View source: R/tidy_naive_bayes.R
Train a Tidy Naive Bayes classifier model
1 2 3 4 5 6 7 8 | ## Default S3 method:
tidy_naive_bayes(x, y)
## S3 method for class 'formula'
tidy_naive_bayes(formula, data)
## S3 method for class 'tbl_df'
tidy_naive_bayes(.data, class_var)
|
x |
A data frame. |
y |
A vector. |
formula |
An object of class 'formula' of the form 'class ~ predictors'. |
data |
A data frame. |
A Tidy Naive Bayes classifier model.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.