Resubstitution classification edge for naive Bayes classifier
returns the
resubstitution Classification Edge (e
= resubEdge(Mdl
)e
) for the naive Bayes
classifier Mdl
using the training data stored in
Mdl.X
and the corresponding class labels stored in
Mdl.Y
.
The classification edge is a scalar value that represents the weighted mean of the Classification Margins.
ClassificationNaiveBayes
| CompactClassificationNaiveBayes
| edge
| fitcnb
| loss
| margin
| predict
| resubEdge
| resubLoss
| resubLoss
| resubMargin