Package com.namsor.oss.samples
Class MainSample2Laplaced
- java.lang.Object
-
- com.namsor.oss.samples.MainSample2Laplaced
-
public class MainSample2Laplaced extends Object
Simple example of Naive Bayes Classification with Laplace smoothing inspired by https://towardsdatascience.com/introduction-to-na%C3%AFve-bayes-classifier-fa59e3e24aaf- Author:
- elian
-
-
Constructor Summary
Constructors Constructor Description MainSample2Laplaced()
-
-
-
Field Detail
-
ZERO
public static final String ZERO
- See Also:
- Constant Field Values
-
ONE
public static final String ONE
- See Also:
- Constant Field Values
-
X1
public static final String[] X1
-
X2
public static final String[] X2
-
Y
public static final String[] Y
-
-
Method Detail
-
main
public static final void main(String[] args)
-
-