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

Predicts the response for sample(s)

outputs = model.predictProb(inputs)
[outputs,outputProbs,f] = model.predictProb(inputs)
[...] = model.predictProb(inputs, 'OptionName',optionValue, ...)

Input

Output

Options

The method estimates the most probable classes for input vectors. Input vectors (one or more) are stored as rows of the matrix inputs. In case of multiple input vectors, there should be one output vector outputs. The matrix outputProbs contains the output probabilities corresponding to each element of result.

The function is parallelized with the TBB library.

See also
Method Details
Access public
Sealed false
Static false