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?

Réponses (1)

Shashank Prasanna
Shashank Prasanna le 1 Fév 2013
Modifié(e) : Shashank Prasanna le 1 Fév 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 commentaires

ftsst tupamahu
ftsst tupamahu le 29 Avr 2014
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 :)
Shashank Prasanna
Shashank Prasanna le 29 Avr 2014
showplot should be true if you want to see the visualization. If you get a warning, see my original answer above.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by