Package com.namsor.oss.samples

This package contains three examples of Naive Bayes Classification that are well documented on the Internet :
  • Sport / No Sport, with and without Laplace smoothing ( ;
  • Banana / Orange or other Fruit (
The same examples are used for unit testing. You can run them with the explain option to see exactly how the calculations are made.