Edge of k-nearest neighbor classifier by resubstitution
returns the classification edge for E
= resubEdge(mdl
)mdl
with the data used to
train mdl
.
The classification edge (E
) is a scalar value that represents
the mean of the classification margins.
ClassificationKNN
| fitcknn
| resubLoss
| resubMargin
| resubPredict