compact
Reduce size of multiclass error-correcting output codes (ECOC) model
Description
returns a compact multiclass error-correcting output codes (ECOC) model
(CompactMdl
= compact(Mdl
)CompactMdl
), the compact version of the trained ECOC model
Mdl
. CompactMdl
is a CompactClassificationECOC
object.
CompactMdl
does not contain the training data, whereas
Mdl
contains the training data in its X
and Y
properties. Therefore, although you can predict class
labels using CompactMdl
, you cannot perform tasks such as
cross-validation with the compact ECOC model.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2014b
See Also
ClassificationECOC
| CompactClassificationECOC
| fitcecoc
| predict