resubMargin
Resubstitution classification margins for classification ensemble model
Description
returns the resubstitution classification margins
m
= resubMargin(ens
)m
for the trained classification ensemble model
ens
using the training data stored in ens.X
and the corresponding true class labels stored in ens.Y
.
m
is returned as a numeric column vector with the same length as
ens.Y
. The software estimates each entry of m
using the trained classification ensemble model ens
, the
corresponding row of ens.X
, and the true class label
ens.Y
.
specifies additional options using one or more name-value arguments. For example, you
can specify the indices of trained weak learners to use for calculating the loss, and
whether to run computations in parallel. m
= resubMargin(ens
,Name=Value
)
Examples
Input Arguments
More About
Extended Capabilities
Version History
Introduced in R2011aSee Also
resubEdge
| resubLoss
| resubPredict
| resubMargin
| ClassificationEnsemble
| ClassificationBaggedEnsemble
| fitcensemble