error in using svm

10 次查看(过去 30 天)
kash
kash 2012-3-5
i am using 2011b,i get the following error
plz hemp
Error using svmtrain (line 391) The kernelcachelimit argument must be a positive scalar.
Error in smo (line 22) svmModel= svmtrain(Training,Group, 'Kernel_Function','linear','Method','SMO','kernelcachelimit','1000')

采纳的回答

Wayne King
Wayne King 2012-3-5
You have entered the 'kernelcachelimit' as a string variable, please use a positive scalar.
svmModel= svmtrain(Training,Group, 'Kernel_Function','linear','Method','SMO','kernelcachelimit',1000);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by