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

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

Answers (1)

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

2 Comments

thank you for answer i increase MaxItr to inf, but did not fix the error.
Then do one or all of:
  • lower the box constraint
  • increase tolkkt
  • specify a positive value for kktviolationlevel
  • try a different kernel function

Sign in to comment.

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 27 Jul 2013

Community Treasure Hunt

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

Start Hunting!