/spam-email-classification

Classify Spam Mails with Machine Learning

Primary LanguageRoffMIT LicenseMIT

Spam Email Classifier

Classify Spam Mails with Machine Learning

Installation

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!

Algorithms

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)

Large Files

SpamData/03_Testing/test-features.txt is removed and would need to be generated.