Class MainSample3


  • public class MainSample3
    extends Object
    Simple example of Naive Bayes Classification (Banana, Orange or other Fruit) inspired by https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/
    Author:
    elian
    • Field Detail

      • colName

        public static final String[] colName
        Header table as per https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/
      • data

        public static final String[][] data
        Data table as per https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/
    • Constructor Detail

      • MainSample3

        public MainSample3()
    • Method Detail

      • main

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