Description Usage Arguments Examples
Naive Bayes classifier for text classification.
1 2 3 4 | init_naive_classifer(labels)
## S3 method for class 'factor'
init_naive_classifer(labels)
|
labels |
A vector of labels (factor). |
1 2 3 4 5 6 | ## Not run:
init_textanalysis()
classes <- factor(c("A", "B"))
model <- init_naive_classifer(classes)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.