How to apply SVM on training and testing data

조회 수: 3 (최근 30일)
NotA_Programmer
NotA_Programmer 2022년 5월 10일
편집: NotA_Programmer 2022년 5월 12일
I have two matrix. 1 column of both matrix contains labels. How can I apply SVM Classifier for more than 2 classes

답변 (1개)

the cyclist
the cyclist 2022년 5월 10일
You can use the fitcecoc function from the Statistics and Machine Learning Toolbox to fit multi-class SVMs.
I've never used these models myself, so I can't really give an advice beyond knowing that this functionality exists. I'm also not sure if you do all the specific things you are hoping for (e.g. the different kernels), but there are a lot of input parameter options.

카테고리

Help CenterFile Exchange에서 Classification에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by