Spam/Ham Filter Using Naive Bayes Implemented a spam filter based on Multinomial Naive Bayes to find out whether a given mail is spam or ham with 91.9% accuracy. Python command to run the code: python spam_ham_filter.py -f1 [training data] -f2 [testing data] -o [output file]