Total members 10260 | Gratitudes |It is currently Mon May 21, 2012 5:11 pm Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 1 post ] 
Author Topic
 Topic subject: Matlab SVM training problem
PostPosted: Thu Oct 27, 2011 1:00 am 
Offline
Mastermind
User avatar

Joined: Tue Mar 27, 2007 10:55 pm
Posts: 2277
Location: Earth
Has thanked: 39 time
Have thanks: 61 time

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);

_________________
Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 1 post ] 
Quick reply


  


 Similar topics
 help me How do I load image from my pc to matlab
 naive Bayes classifier in MATLAB
 error closing file matlab save
 JavaScript fade out problem
 problem with JcheckBox method
 client server problem
 problem
 MATLAB clear memory
 particle swarm optimization matlab code
 I have a serious virus/trojan problem, anyone pls?

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 2 guests



Jump to:  
Previous Topic | Next Topic 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team