init_naive_classifer.Rd
Naive Bayes classifier for text classification.
init_naive_classifer(labels) # S3 method for factor init_naive_classifer(labels)
labels | A vector of labels (factor). |
---|
# NOT RUN { init_textanalysis() classes <- factor(c("A", "B")) model <- init_naive_classifer(classes) # }