Package com.namsor.oss.samples
Class MainSample3
- java.lang.Object
-
- com.namsor.oss.samples.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 Summary
Fields Modifier and Type Field Description static String
BANANA
static String[]
colName
Header table as per https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/static String[][]
data
Data table as per https://www.machinelearningplus.com/predictive-modeling/how-naive-bayes-algorithm-works-with-example-and-full-code/static String
ORANGE
static String
OTHER
-
Constructor Summary
Constructors Constructor Description MainSample3()
-
-
-
Field Detail
-
BANANA
public static final String BANANA
- See Also:
- Constant Field Values
-
ORANGE
public static final String ORANGE
- See Also:
- Constant Field Values
-
OTHER
public static final String OTHER
- See Also:
- Constant Field Values
-
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/
-
-
Method Detail
-
main
public static final void main(String[] args)
-
-