Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

SMS Spam Detector

Written in Python 2.7 using Naive Bayes and SVM for Classifier

How to run

$ python sms-spam-detector.py -m "Hello, dude. what's up?"
$ This message is predicted by SVM as ham and Naive Bayes as ham
$ python sms-spam-detector.py -m "WINNER! Credit for free"
$ This message is predicted by SVM as spam and Naive Bayes as spam

TO DO

Don't load the models everytime the program get executed

Credits

Dataset : https://archive.ics.uci.edu/ml/datasets/SMS+Spam+Collection

Large portions of the codes are adapted from : http://radimrehurek.com/data_science_python/

About

SMS Spam Detector written in Python 2.7

Resources

Releases

No releases published

Packages

No packages published

Languages