eddie-wang / Naive-Bates-Classifier-python

Implementing a Naive Bayes Classifier from scratch in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naive-Bates-Classifier-python

Implementing a Naive Bayes Classifier from scratch in python

#Features:

  • use add one smooth to avoid 0 count problem
  • assign 1 to known exists words
  • use stop word list
  • use f-meaure to evalulate
  • use words 's stem to count ex: sensibility , sensible , sensibilites has the same stem (sensibl) so they are the same word

About

Implementing a Naive Bayes Classifier from scratch in python


Languages

Language:Python 100.0%