Can you please tell me how to use multi class classification using support vector machine?
3 views (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
See Also
Categories
Find more on Predictive Maintenance Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!