SVM parameter optimization in Opencv
问题 I want to optimize SVM parameters in Opencv. But, every time I use train_auto I get C=1 and gamma=1 . Some people use LibSVM but I could not write a wrapper for that. Both trainingData and labels are taken from an existing code which gives good results so I am trying to get the same parameters for that code with train_auto . In the original code C=312.5 and gamma=0.50625 . I saw that somebody used CvStatModel for python, is it necessary for C++? Where do I make a mistake? Thanks in advance.