Skip to content

Simple spam email classifier was implemented by logistic regression, neural network and svm.

License

Notifications You must be signed in to change notification settings

zhtsh/spam_email_classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spam_email_classifier

Simple spam email classifier was implemented by logistic regression, neural network and svm.

install third party library

  1. install python virtual enviroment

    pip install virtualenv
    virtualenv venv
    cd venv
    source ./bin/activate
    
  2. install requirements.txt library

  pip install -r requirements.txt

how to use

  1. preprocess the email corpus

  2. generate email dictionary and tfidf model for tfidf weights

  3. train the models

  4. evaluate the models

  5. predict whether the email is spam or not

the future work

About

Simple spam email classifier was implemented by logistic regression, neural network and svm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published