# How do the multiclass SVM model function 'fitcecoc' work?

4 views (last 30 days)

Show older comments

Mdl = fitcecoc(X,Y)

Suppose I have 4 classes as below:

As seen from the table below, suppose for learner 1, the svm predicted it as Cat. For learner 2 it was predicted as Fish. For learner 3 it is predicted as Cat. For learner 4 it is predicted as Fish. For learner 5 it is predicted as Rabbit. For learner 6 it is predicted as Rabbit.

How do the ECOC svm determine if it is cat, fish or rabbit in this case?

##### 0 Comments

### Answers (1)

Dinesh Yadav
on 9 Mar 2020

##### 4 Comments

Dinesh Yadav
on 9 Mar 2020

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!