Coder Social home page Coder Social logo

liang-68 / mail-spam-filtering Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abhijeet3922/mail-spam-filtering

0.0 0.0 0.0 5 KB

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.

Home Page: https://appliedmachinelearning.wordpress.com/2017/01/23/email-spam-filter-python-scikit-learn/

Python 100.00%

mail-spam-filtering's Introduction

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.

mail-spam-filtering's People

Contributors

abhijeet3922 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.