Ask Your Question
0

Actual number of iterations of CvSVM::train

asked 2016-09-23 07:05:36 -0600

BartekM gravatar image

I'd like to know if there's some smart way of checking how many iterations it took for SVM training algorithm to finish process. I set some termiantaion criteria of max iterations and would like to check if it is reached or eps limit is reached.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-06-07 07:47:37 -0600

OpenCV's SVM implementation is based on LibSVM. If you are a Matlab user you can transfer the data to Matlab, use LibSVM's Matlab package, and train an SVM there. It shows the number of iterations after the optimization finishes. I believe there is no way to do this in OpenCV.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-09-23 07:05:36 -0600

Seen: 179 times

Last updated: Sep 23 '16