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?

回答(2 个)

Aseman
Aseman 2011-12-27
What is its error? Are you sure the format of data and group are right?
missmal
missmal 2011-12-27
actually do i need to use the svmStruct for the prediction?

类别

帮助中心File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品

提问:

2011-12-27

Community Treasure Hunt

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

Start Hunting!

Translated by