matlab - Increasing the number of iterations with multisvm -


i'm attempting use multisvm function in matlab. on small data set, works great. increase size need it, , following error:

error using seqminopt>seqminoptimpl (line 198) no convergence achieved within maximum number of iterations.

error in seqminopt (line 81) [alphas offset] = seqminoptimpl(data, targetlabels, ...

error in svmtrain (line 499) [alpha, bias] = seqminopt(training, groupindex, ...

error in multisvm (line 20) models(k) = svmtrain(trainingset,g1vall);

i've been trying solution online , found this: http://www.mathworks.com/matlabcentral/answers/66183,

where advice "so increase maximum number of iterations". problem is, doesn't seem easy do. of novice, trying figure out on own looking through these files, without success. know how can increase number of iterations , solve problem?

svmtrain trying find correct line between e.g. 2 groups. if doesn't find correct line, change parameters in function of line find correct line separated groups , make iteration of iteration parameter. default trying find correct line 15000 times. if use following code, svmtrain try 100000 times find corrected line. time of training naturally longer.

options.maxiter = 100000; my_svm_struct = svmtrain((training, group, 'options', options);  

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -