SVM AutoTrain (Bug #4314)
Description
the SVM auto_train function doesnt work as expected. Setting the range of a paramter as a ParamGrid should be enough for auto train, but this process doesnt work correctly. To get the auto_train work, i need to manually set an inital value for the needed params. The inital value should be derived from the ParamGrid.
History
Updated by Daniel Horn almost 10 years ago
- Assignee deleted (
Maria Dimashova)
Updated by Jens Garstka over 9 years ago
I have (had) the same problem. In case of an RBF kernel it is not sufficient to set the values of C and Gamma somewhere within the minimum and the maximum given by the ParamGrid. Even if you set these values, the autoTrain-method leads to C or Gamma values that are often equal to one of the ParamGrid-limits. As a result the classification rates of the trained SVMs are close to zero.
Accordingly, I build my own autoTrain method for now ...
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4980