How do the multiclass SVM model function 'fitcecoc' work?
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Dinesh Yadav
2020년 3월 9일
Kindly go through the documentation of fitcecoc and go through the sub sections Coding Design and Error Correcting Output Codes Model part to understand how it works.
댓글 수: 4
Dinesh Yadav
2020년 3월 9일
Sorry my bad it wont be probability but classification score. Also i have taken above data point as test data point not training. The score would be computed as in doc under Error Correcting Output Codes Model.
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Ensembles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!