how to train svm in MATLAB using own data?

1 view (last 30 days)
missmal
missmal on 27 Dec 2011
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?

Answers (2)

Aseman
Aseman on 27 Dec 2011
What is its error? Are you sure the format of data and group are right?

missmal
missmal on 27 Dec 2011
actually do i need to use the svmStruct for the prediction?

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!