I want to train Multi svm which i have found on matlab but i dont know how to train that model .
2 ビュー (過去 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!