/naive-bayes-python

Python Code that implements the naive-bayes algorithm to do sentiment analysis on Tweets.

Primary LanguagePython

Python Code that implements the naive-bayes algorithm to do sentiment analysis on Tweets.

It is based on and SKLearn algorithm structure and heritates from the base class of the SKLearn library.

How to run it?

fb6dca13-4eb5-4196-97e0-833ee276f816

For example ‘python main.py -dr -df -m 10000 -t 0.2’ runs without removing stop words, with no filtering and limiting the dictionary words frequency to 10000 with a test size of 0.2 (0.8 per train accordingly of course (: )