Can you please tell me how to use multi class classification using support vector machine?

2 views (last 30 days)
Can you please tell me how to use multi class classification using support vector machine?
I have studies in material that use fitcecoc, but how to use it. Please dont reply fisheriris example.
Is it like so....
Training_feat = dataTraining(:,1:16);
Testing_feat = dataTesting(:,1:16);
Training_class = dataTraining(:,17);
Testing_class = dataTesting(:,17);
Training=Training_feat;
Group=Training_class;
Sample=Testing_feat;
Mdl = fitcecoc(Training,Group)
Class = predict(Mdl,Sample);
then compare Class with Testing_class?

Answers (0)

Community Treasure Hunt

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

Start Hunting!