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?

Antworten (1)

Shashank Prasanna
Shashank Prasanna am 1 Feb. 2013
Bearbeitet: Shashank Prasanna am 1 Feb. 2013

0 Stimmen

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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Feb. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by