SVM AutoTrain (Bug #4314)


Added by Daniel Horn almost 10 years ago. Updated over 9 years ago.


Status:New Start date:2015-05-05
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:ml
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:

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

Also available in: Atom PDF