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 (http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf) ;
  • https://towardsdatascience.com/introduction-to-na%C3%AFve-bayes-classifier-fa59e3e24aaf
  • Banana / Orange or other Fruit (https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/)
The same examples are used for unit testing. You can run them with the explain option to see exactly how the calculations are made.
Author:
elian