Skip to content

It uses machine learning models (Multinomial NB & SVM) to predict whether the email is spam or ligitimate on two corpus namely Ling-spam corpus and Euron-spam corpus.

Notifications You must be signed in to change notification settings

abhijeet3922/Mail-Spam-Filtering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Mail-Spam-Filtering

It uses machine learning models to predict whether the email is spam or ligitimate.

Best thing would be to follow my blog-post for implementation. The description about the steps to build a spam filter from scratch can be read from my blog:

https://appliedmachinelearning.wordpress.com/2017/01/23/nlp-blog-post/

It is a python implementation using Naive Bayes Classifier and Support Vector Machines from Scikit-learn ML library.

The results has been shown on two publicly open corpus.

  1. Ling-spam corpus
  2. Euron-spam corpus

The link for corpus/dataset download is given in blog-post.

Note : Directory path used for training and testing models in lingspam_filter.py and euron-spamfilter.py needs to be properly set accordingly.

About

It uses machine learning models (Multinomial NB & SVM) to predict whether the email is spam or ligitimate on two corpus namely Ling-spam corpus and Euron-spam corpus.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages