Class MainSample1Laplaced


  • public class MainSample1Laplaced
    extends Object
    Simple example of Naive Bayes Classification (Sport / No Sport) with Laplace smoothing inspired by http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
    Author:
    elian
    • Field Detail

      • colName

        public static final String[] colName
        Header table as per https://taylanbil.github.io/boostedNB or http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
      • data

        public static final String[][] data
        Data table as per https://taylanbil.github.io/boostedNB or http://ai.fon.bg.ac.rs/wp-content/uploads/2015/04/ML-Classification-NaiveBayes-2014.pdf
    • Constructor Detail

      • MainSample1Laplaced

        public MainSample1Laplaced()
    • Method Detail

      • main

        public static final void main​(String[] args)