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.
-
Notifications
You must be signed in to change notification settings - Fork 0
avinashr175/Spam-classifier
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published