I want to train Multi svm which i have found on matlab but i dont know how to train that model .
1 次查看(过去 30 天)
显示 更早的评论
i Want to train Svm which i have found on matlab but there is nothing on youtube or google which help me how i can train this model. im working on plant leafe disease detection .5 clasees and more than 800 images .https://www.mathworks.com/matlabcentral/fileexchange/39352-multi-class-svm.
0 个评论
回答(1 个)
Rahul
2024-12-23
In order to train SVM for multiclass classification using MATLAB, consider using 'ClassificationECOC' model which are models for multiclass classification using the 'fitcecoc' function to train the SVM model.
Here is an example:
load fisheriris
X = meas;
Y = species;
Mdl = fitcecoc(X,Y); % We obtain a multiclass classification SVM model
Refer to the following tutorial video on SVM and how to use them using MATLAB: https://www.mathworks.com/videos/tutorial-on-support-vector-machines-and-using-them-in-matlab-1617691223439.html
Refer to the following MathWorks documentations to know more:
'ClassificationECOC': https://www.mathworks.com/help/releases/R2021a/stats/classificationecoc.html
Thanks.
0 个评论
另请参阅
类别
在 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!