FUNCTION REFERENCE
resubLoss
Compute classifier resubstitution misclassification loss.
Compute classifier resubstitution misclassification loss.
Syntax
loss = resubLoss(mdl)Supports every classifier response label type and evaluates the training rows.
Example
m=fitcknn([0;2],[1;2]); resubLoss(m)Differences from MATLAB: LossFun supports classiferror (default), mincost, binodeviance, exponential and hinge; custom weights and loss functions are unsupported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.