The Naive Bayes Text Classifier is a variant of the Naive Bayes classification algorithm that is designed specifically for document classification.
For information about the Naive Bayes classification algorithm and functions, see Naive Bayes Functions (ML Engine).
Naive Bayes Text Classifier runs these functions:
- NaiveBayesTextClassifierTrainer (ML Engine), which creates a model from training data
- NaiveBayesTextClassifierPredict_MLE (ML Engine), which uses the model to make predictions about testing data
The preceding functions process tokens, not documents. The input is a table of tokens that you can create with the TextTokenizer (ML Engine) function.