Email spam filter using Naive Bayes classifier
Customizable Naive Bayes classifier.
Implemented a Naive Bayes classifer from scratch for classifying spam-ham emails.
Instructions to run the code - The python code expects parameters in following format:
python q2_classifier.py -f1 <train_dataset> -f2 <test_dataset> -o <output_file>
The classifier is set to ignore stop words. Put your stop words into the stop_words dictionary.