resubMargin
Resubstitution classification margins for discriminant analysis classifier
Syntax
Description
m = resubMargin(Mdl)m for the trained discriminant analysis classifier
          Mdl using the training data stored in Mdl.X and
        the corresponding true class labels stored in Mdl.Y.
          m is returned as a numeric column vector with the same length as
          Mdl.Y. The software estimates each entry of m
        using the trained discriminant analysis classifier Mdl, the
        corresponding row of Mdl.X, and the true class label
          Mdl.Y.