Skip to content

avinashr175/Spam-classifier

Repository files navigation

Spam Classifier

This is a small project made to classify mails as spam or ham using the Naive Baye's Classifier.
Following are the steps to use the classifier:
1.Firstly, run ham_classifier.py and spam_classifier.py to create the dictionary of words mapped to the corresponding conditional probabilities which is in turn stored in the two text files.
2.To test the algorithm on the testing dataset, run testing.py file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages