How to train fitcecoc by using COST SENSITIVE SVM

4 views (last 30 days)
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.

Accepted Answer

Subhadeep Koley
Subhadeep Koley on 22 Aug 2019
MATLAB provides ClassificationECOC and fitcecoc for Multiclass model for support vector machines (SVMs) and other classifiers.
The documentation here might help you.
  1 Comment
lokesh singh
lokesh singh on 2 Sep 2019
thanks for your suggestions but sir how can we use cost in fitcecoc function for multiclass classification.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!