How to train fitcecoc by using COST SENSITIVE SVM

1 次查看(过去 30 天)
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.

采纳的回答

Subhadeep Koley
Subhadeep Koley 2019-8-22
MATLAB provides ClassificationECOC and fitcecoc for Multiclass model for support vector machines (SVMs) and other classifiers.
The documentation here might help you.
  1 个评论
lokesh singh
lokesh singh 2019-9-2
Sir,
thanks for your suggestions but sir how can we use cost in fitcecoc function for multiclass classification.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Classification Ensembles 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by