This code helps you classify whether a message is spam or ham.
You can install Conda for python which resolves all the dependencies for machine learning.
- Extracted occurances of spam and ham.
- Stored the messages in a list
- Ignored some spam messages since there was an encoding issue. Used try/catch technique for that
To run the code, type python spam.py
python spam.py