Skip to content

A python implementation of Binary NaiveBayes based classification

Notifications You must be signed in to change notification settings

jatanpatel92/NaiveBayes-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NaiveBayes Classifier for binary attributes

  • Developed by: Jatan Patel

  • Requirements: Python 2.7

  • Execute:

python nb.py <train_file_path> <test_file_path>
  • Example:
python nb.py train.dat test.dat
  • Output:
Accuracy on training dataset
============================
Number of instances = 800
Accuracy: 81.125%
===========================
Accuracy on testing dataset
===========================
Number of instances = 203
Accuracy: 77.8325123153%

About

A python implementation of Binary NaiveBayes based classification

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages