Classifier
C++ · Naive Bayes
Live
A text classifier in motionA document is split into unique words. A Naive Bayes model adds word log-likelihoods to the class log-prior, then chooses the highest scoring category. The demo uses an illustrative training corpus.
  1. 01Read the text
  2. 02Keep unique words
  3. 03Weigh the evidence
  4. 04Choose a category