Resubstitution classification margins for multiclass error-correcting output codes (ECOC) model
returns the resubstitution classification margins
(m
= resubMargin(Mdl
)m
) for the multiclass error-correcting output codes (ECOC) model
Mdl
using the training data stored in Mdl.X
and
the corresponding 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 ECOC model Mdl
, the corresponding row of
Mdl.X
, and the true class label Mdl.Y
.
returns the classification margins with additional options specified by one or more
name-value pair arguments. For example, you can specify a decoding scheme, binary learner
loss function, and verbosity level.m
= resubMargin(Mdl
,Name,Value
)
To compare the margins or edges of several ECOC classifiers, use template objects to specify a common score transform function among the classifiers during training.
[1] Allwein, E., R. Schapire, and Y. Singer. “Reducing multiclass to binary: A unifying approach for margin classifiers.” Journal of Machine Learning Research. Vol. 1, 2000, pp. 113–141.
[2] Escalera, S., O. Pujol, and P. Radeva. “On the decoding process in ternary error-correcting output codes.” IEEE Transactions on Pattern Analysis and Machine Intelligence. Vol. 32, Issue 7, 2010, pp. 120–134.
[3] Escalera, S., O. Pujol, and P. Radeva. “Separability of ternary codes for sparse designs of error-correcting output codes.” Pattern Recogn. Vol. 30, Issue 3, 2009, pp. 285–297.
ClassificationECOC
| fitcecoc
| margin
| predict
| resubEdge
| resubLoss
| resubPredict