miracleyoo / naivebayes_email_discrimination Goto Github PK
View Code? Open in Web Editor NEWA project whose target is to discriminate whether a email is a spam or a ham.It utilized two method to do this work, one is using the naive Bayes method while another is to do it with the help of fisherman's way. And as for the result, the recent result is that it can discriminate ham from spam with a rate of 99.5% and it can also tell spam from ham with a rate of almost 95%. As a whole, its accurate rate is 98.55%(tested under fisherman's way). What's more, the train data together with the test data is inside, therefore, you can also try it yourself!