I want to train Multi svm which i have found on matlab but i dont know how to train that model .

5 views (last 30 days)
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.

Answers (1)

Rahul
Rahul on 23 Dec 2024
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:
Thanks.

Categories

Find more on Agriculture in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!