Spam filtering using Naive Bayes algorithm.
The file data-set.txt contains mails labeled as SPAM or HAM. Using CSV technique the mails are processed and using the MultinomialNB a classifier is created. In main.py user is asked to enter a mail and then it is classified as SPAM or HAM. Then the user is asked for the confirmation weather the predicted output is correct or not and then the mail is updated in the data-set.txt file along with it's label.