Classifier
C++ · Naive Bayes
Live
A text classifier in motion
A 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.
Garden
Code
Design
Unknown
Replay
Pause
01
Read the text
02
Keep unique words
03
Weigh the evidence
04
Choose a category