MATLAB File Help: cv.NormalBayesClassifier/NormalBayesClassifier Index
cv.NormalBayesClassifier/NormalBayesClassifier

Creates/trains a new Bayes classifier model

model = cv.NormalBayesClassifier()
model = cv.NormalBayesClassifier(...)

The first variant creates an empty model. Use cv.NormalBayesClassifier.train to train the model after creation.

The second variant accepts the same parameters as the train method, in which case it forwards the call after construction.

See also