1 | initial version |
I made a mistake when testing the accuracy and actually I was comparing the 'svm_predict' and 'svm_predict_probability'. These two functions may return different results even all the parameters are the same. In my case 'svm_predict' has a hight accuracy. And if you enable probability it might need more time during training(to calculate the probabilites). OpenCV also has optimized some basic math functions with SIMD, like 'exp', so it might be faster when doing kernel calculations which need exp.
Hope this will be helpful to someone who met the same question as me