Skip to content

A Java program to learn from a CSV dataset and then use the knowledge to classify an unseen sample

License

Notifications You must be signed in to change notification settings

psyclone20/Naive-Bayes-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Naive-Bayes-classifier

A Java program to learn from a CSV dataset and then use the knowledge to classify an unseen sample

Input

The user must enter the following inputs:

  • The number of deciding attributes and their possible values
  • The name of the CSV training dataset
  • The attributes of the unseen sample

Output

The probabilities of the unknown attribute being Yes or No