Resubstitution classification edge for multiclass error-correcting output codes (ECOC) model
returns the resubstitution classification edge
(e
= resubEdge(Mdl
)e
) 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
.
The classification edge is a scalar value that represents the weighted mean of the classification margins.
computes the resubstitution classification edge 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.e
= resubEdge(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
| edge
| fitcecoc
| predict
| resubLoss
| resubMargin
| resubPredict