non linear problem of SVM

by using svmtrain and sv classify bellow :
svmStruct = svmtrain(data(train,:),groups(train),'showplot',true);
I can't find the result and I got the answer :
Warning: The display option can only plot 2D training data.
Is there anyone can help me?

Answers (1)

Shashank Prasanna
Shashank Prasanna on 1 Feb 2013
Edited: Shashank Prasanna on 1 Feb 2013

0 votes

you data is definitely high dimensional (more than 2) and obviously you can't visualize higher dimension data. remove the 'showplot' 'true' or make it 'false'
The warning won't affect the classification.

2 Comments

previous question... after change the svmStruct = svmtrain(data(train,:),groups(train),'showplot',true); become svmStruct = svmtrain(data(train,:),groups(train),'showplot',false); i can't see figure result from svmStruct...any solution? thanks before :)
showplot should be true if you want to see the visualization. If you get a warning, see my original answer above.

Sign in to comment.

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 1 Feb 2013

Commented:

on 29 Apr 2014

Community Treasure Hunt

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

Start Hunting!