The code contains step by step process to classify a set of over 5,000 SMS using python in Naive Bayes Classification Algorithm.
More on Naive Bayes: https://machinelearningmastery.com/naive-bayes-classifier-scratch-python/
python spam.py
Data folder containes the spam-ham.csv file with data.
Apart from this it contains a split of 2 different files to train on test data and then run on real data (production):
1. spam-sms.py (to train)
2. spam-real.py (to run in production)
- Python 2.7
- Machine learning libraries
- Anaconda/Spyder
- Vaibhav Magon