bastinat0r / nbayes-java

Naive Bayes Classification in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Naive Bayes Classification in Java

  • The Constructor of NBayes computes all the needed propabilties based on the Training-Set (data[0])
  • The function classify uses those propabilties
  • The function crossvalidate Computes the Classification-Rate based on the Validation-Set (data[1])
  • The function printConfusionMatrix prints a confusion Matrix based on the Validation-Set

The Classification-Rate in 100 runs is about 85%.

About

Naive Bayes Classification in Java


Languages

Language:Java 100.0%