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.
kumarage/Naive-Bayes-Spam-SMS-Classifier
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|