Plotting the misclassified data

I have classified the data using SVM,please tell how to plot the miscalssified data
[k j]=size(datats)
groups=ones(k,1);
groups(26:50)=-1;
xdata=datats(:,1:2)
svmStruct = svmtrain(xdata,groups,'showplot',true);
legend('Normal State ','Abnormal State State ');
Res= svmclassify(svmStruct,datats(:,3:4),'showplot',true)
legend('Normal State ','AbnormalState ');
please tell how to plot misclassified data

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

質問済み:

FIR
2012 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by