Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 896 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 896 Bytes

SpamClassifier

This is a spam classifier using Naive Bayes classifiers, a family of classifiers that are based on the popular Bayes’ probability theorem. It predict whether a given message is spam or not. ######Check this article for the explanation.

Requirements

  sudo apt-get install python3-pip 
  • Sklearn
  pip3 install scikit-learn 
  • Pandas
  pip3 install pandas 

To Run

python3 main.py

String in the message variable is classified spam or not.

Further reference

Naive Bayes

Naive Bayes classifier

Code with ❤️ Harin