Classify observations using naive Bayes classifier
[
also returns the Posterior Probability (label
,Posterior
,Cost
]
= resubPredict(Mdl
)Posterior
) and predicted
(expected) Misclassification Cost (Cost
) corresponding to
the observations (rows) in Mdl.X
.
ClassificationNaiveBayes
| CompactClassificationNaiveBayes
| fitcnb
| loss
| predict