Package org.opencv.ml
Class NormalBayesClassifier
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.ml.StatModel
-
- org.opencv.ml.NormalBayesClassifier
-
public class NormalBayesClassifier extends StatModel
-
-
Field Summary
-
Fields inherited from class org.opencv.ml.StatModel
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNormalBayesClassifier(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NormalBayesClassifier__fromPtr__(long addr)static NormalBayesClassifiercreate()protected voidfinalize()static NormalBayesClassifierload(String filepath)static NormalBayesClassifierload(String filepath, String nodeName)floatpredictProb(Mat inputs, Mat outputs, Mat outputProbs)floatpredictProb(Mat inputs, Mat outputs, Mat outputProbs, int flags)-
Methods inherited from class org.opencv.ml.StatModel
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, train, train, train
-
Methods inherited from class org.opencv.core.Algorithm
clear, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static NormalBayesClassifier __fromPtr__(long addr)
-
create
public static NormalBayesClassifier create()
-
load
public static NormalBayesClassifier load(String filepath, String nodeName)
-
load
public static NormalBayesClassifier load(String filepath)
-
-