Classify Spam Mails with Machine Learning
Run the command pip install -r requirements.txt
in your shell by creating virtual environment.
This will install required packages on your system and you are ready to go!
This covers 4 algorithms. But only 2 are covered in .py file by considering accuracy, precision scores, recall scores and f-scores. The algorithms are:
- Random Forest (Excluded)
- XGBoost Classifier (Included)
- Multinomial Naive Bayes (Excluded)
- Manually coded Naive Bayes (Included)
SpamData/03_Testing/test-features.txt
is removed and would need to be generated.