Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

SVM - SVMTRAIN method SMO (error: No convergence achieved within maximum number of iterations)

Asked by hamed on 27 Jul 2013

I have been encountered with "No convergence achieved within maximum number of iterations" error. What can I do to fix the error? Please advise me

0 Comments

hamed

Tags

Products

No products are associated with this question.

1 Answer

Answer by Ilya on 27 Jul 2013

You can increase the maximal number of iterations. See 'options' in the doc or help for svmtrain.

2 Comments

hamed on 27 Jul 2013

thank you for answer i increase MaxItr to inf, but did not fix the error.

Ilya on 28 Jul 2013

Then do one or all of:

  • lower the box constraint
  • increase tolkkt
  • specify a positive value for kktviolationlevel
  • try a different kernel function
Ilya

Contact us