cost function in classification learner app
조회 수: 2 (최근 30일)
이전 댓글 표시
How is it possible to use a costfunction/ penalty function for a Support Vector Machine in the classification Learner App?
If it is not possible, is there a way to train a SVM manually for more than 2 classes?
댓글 수: 0
채택된 답변
Stephan
2018년 5월 8일
Hi,
a cost function is not available as far as i know. For more than two classes you could use the function
fitcecoc
see documentation here:
Best regards
Stephan
댓글 수: 2
Stephan
2018년 5월 9일
편집: Stephan
2018년 5월 9일
Hi,
when you choose the option "generate code" from the button export model in the classification learner app you get a good commented script with matlab-code doing exactly what you choosed in classification learner app. Then you can modify for your purposes as you want. If you do SVM model with more than 2 classes, i guess the function classification learner will use
fitcecoc
See here for further information:
Best regards
Stephan
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Learner App에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!