Skip to content

Latest commit

 

History

History
4 lines (4 loc) · 523 Bytes

README.md

File metadata and controls

4 lines (4 loc) · 523 Bytes

Naive-Bayes-Spam-SMS-Classifier

Bayes theorem is used to find whether a given sms is spam or not spam based on its content words. This model is first trained on a dataset with 'spam' and 'ham' labels. This code was developped based on ||Source|| and AlanBuzdar developments. Similar idea can be used for email spam classification A Kaglle sms dataset was splitted into testing and training for this example (https://www.kaggle.com/uciml/sms-spam-collection-dataset) Naive Bayes Classfiier resulted with a 86% accuracy.