Skip to content

panggi/sms-spam-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages