Class: ClassificationEnsemble  Classification edge by
resubstitution   edge = resubEdge(ens) edge =
resubEdge(ens,Name,Value)   edge = resubEdge(ens) returns the
classification edge obtained by ens on its training data.
Input Arguments   A classification ensemble created with
fitensemble.  Name-Value Pair Arguments    Indices of weak
learners in the ensemble ranging from 1 to NumTrained. resubEdge
uses only these learners for calculating edge.  Default:
1:NumTrained   String representing the meaning of the output
edge:    • 'ensemble'edge is a scalar value, the loss for the
entire ensemble.    • 'individual'edge is a vector with one
element per trained learner.    • 'cumulative'edge is a vector
in which element J is obtained by using learners 1:J from the
input list of learners.  Default: 'ensemble'  Output Arguments
Classification edge obtained by ens by resubstituting the
training data into the calculation of edge. Classification edge
is classification margin averaged over the entire data. edge can
be a