error in using svm

10 views (last 30 days)
kash
kash on 5 Mar 2012
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')

Accepted Answer

Wayne King
Wayne King on 5 Mar 2012
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);

More Answers (0)

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!