how to train svm in MATLAB using own data?

Hi, I have tested the example command svmStruct = svmtrain(xdata,group,'showplot',true);using the existence data sample, but when i tried to use the svmStruct command to train my data, it will return an error, how can i fix it?

Réponses (2)

Aseman
Aseman le 27 Déc 2011

0 votes

What is its error? Are you sure the format of data and group are right?
missmal
missmal le 27 Déc 2011

0 votes

actually do i need to use the svmStruct for the prediction?

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Centre d'aide et File Exchange

Produits

Question posée :

le 27 Déc 2011

Community Treasure Hunt

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

Start Hunting!

Translated by