Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Plotting the misclassified data

Asked by FIR on 3 Oct 2012
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 Comments

FIR

Tags

Products

No products are associated with this question.

0 Answers

Contact us