/Spam-Filtering

Implementation of Naive Bayes and Logistic Regression from scratch and using those to identify spam emails.

Primary LanguagePython

This project includes implementation of 2 machine learning algorithms: Naive Bayes and Logistic Regression from scratch. Train and Test datasets for spam and ham(non spam) emails is included. Please see report.pdf for detailed test accuracies.

Pre-requisites: Pandas -- pip install pandas

To run successfully, open console in directory containing spam_filtering.py and run following command: python spam_filtering.py