OpenCV's svm and libsvm, the difference and how to make them the same
Hi there, I am evaluating OpenCV's SVM and libsvm 3.18 but surprisingly they have different results. It's said OpenCV's SVM is based on libsvm but OpenCV's SVM is much faster during training and has a higher accuracy. All tests were done with the same parameters and training dataset.
So what's the difference between the two svm libs and how to make them perform exactly the same(I mean the accuracy)?
That's really surprising! I think OpenCV SVM is based on LibSVM (http://www.csie.ntu.edu.tw/~cjlin/papers/libsvm.pdf), which--perhaps-- means OpenCV developers optimized the code better than the LibSVM's! I mean the source code differs, but the idea is the same.