how to train svm in MATLAB using own data?

2 次查看(过去 30 天)
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?

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by