FUNCTION REFERENCE
ClassificationECOC
Multiclass error-correcting output codes classification model returned by fitcecoc.
Multiclass error-correcting output codes classification model returned by fitcecoc.
Syntax
mdl = fitcecoc(X, Y)Combines binary learners using a coding matrix for multiclass classification. Evaluate with predict, resubLoss, loss and crossval.
Example
mdl = fitcecoc([0; 1; 5; 6; 10; 11], [1; 1; 2; 2; 3; 3]); class(mdl) % 'ClassificationECOC'Differences from MATLAB: Supports one-vs-one and one-vs-all coding with MatRust learner templates.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.