How to train fitcecoc by using COST SENSITIVE SVM

Dear, I have a multiclass problem with an highly unbalanced dataset.
How can I train a multiclass, error-correcting output codes (ECOC) model using svm cost sensitive svm?
If I use svm for a binary classifier I would just set the cost matrix.
However, here we have a multiclass poroblem and ECOC models perform much better.

 Akzeptierte Antwort

Subhadeep Koley
Subhadeep Koley am 22 Aug. 2019

0 Stimmen

MATLAB provides ClassificationECOC and fitcecoc for Multiclass model for support vector machines (SVMs) and other classifiers.
The documentation here might help you.

1 Kommentar

Sir,
thanks for your suggestions but sir how can we use cost in fitcecoc function for multiclass classification.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by