Skip to content

NaiveBayes classifier with an without stop words to classify Ham and Spam emails

Notifications You must be signed in to change notification settings

ganigavinaya/NaiveBayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NaiveBayes

Required: python 3

Instructions to run: python MLAssignment.py [training ham path] [training spam path] [test ham path] [test spam path] [stopwords]

stopword takes following parameters if given y or yes then Naive bayes run by removing stop words if given n or no then Naive bayes run without removing stop words

output:

  1. Naive Bayes ham accuracy
  2. Naive Bayes spam accuracy

Please do not end any path '/' Please note that the program may require a long time to finish execution

About

NaiveBayes classifier with an without stop words to classify Ham and Spam emails

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages