Switch to full style
:rolf:General and off topic threads containing intellectual discussion
Post a reply

Matlab SVM training problem

Thu Oct 27, 2011 1:00 am

Am writing this topic to state a solution to a common MATLAB error that may appears to you if you are using it for your research and study. The problem happens when using SVMtrain for classification , here is the error log :
Code:
??? Error using ==> svmtrain at 470
Unable to solve the optimization problem:
Maximum number of iterations exceeded; increase options.MaxIter.
To continue solving the problem with the current solution as the
starting point, set x0 = x before calling quadprog.



The solution to this problem is to increase the number of iteration of support vector machine train function .

Code:
   options = optimset('maxiter', 200); %options settings for SVMTRAIN
   svmStructs(j)=svmtrain(currentDescriptors,currentLabels,'quadprog_opts' , options);




Post a reply
  Related Posts  to : Matlab SVM training problem
 run .exe program in matlab     -  
 Matlab basics examples     -  
 help me How do I load image from my pc to matlab     -  
 MATLAB clear memory     -  
 read file in matlab     -  
 naive Bayes classifier in MATLAB     -  
 simple speech manipulation under MATLAB     -  
 error closing file matlab save     -  
 particle swarm optimization matlab code     -  
 Support Vector Machine coding on Matlab...     -