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

3 ビュー (過去 30 日間)
SUNNY NEGI
SUNNY NEGI 2019 年 11 月 10 日
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 件)

カテゴリ

Help Center および File ExchangePredictive Maintenance Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by