File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
modules/ml/include/opencv2 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -683,12 +683,12 @@ class CV_EXPORTS_W SVM : public StatModel
683
683
the usual %SVM with parameters specified in params is executed.
684
684
*/
685
685
virtual bool trainAuto ( const Ptr<TrainData>& data, int kFold = 10 ,
686
- ParamGrid Cgrid = SVM:: getDefaultGrid(SVM:: C),
687
- ParamGrid gammaGrid = SVM:: getDefaultGrid(SVM:: GAMMA),
688
- ParamGrid pGrid = SVM:: getDefaultGrid(SVM:: P),
689
- ParamGrid nuGrid = SVM:: getDefaultGrid(SVM:: NU),
690
- ParamGrid coeffGrid = SVM:: getDefaultGrid(SVM:: COEF),
691
- ParamGrid degreeGrid = SVM:: getDefaultGrid(SVM:: DEGREE),
686
+ ParamGrid Cgrid = getDefaultGrid(C),
687
+ ParamGrid gammaGrid = getDefaultGrid(GAMMA),
688
+ ParamGrid pGrid = getDefaultGrid(P),
689
+ ParamGrid nuGrid = getDefaultGrid(NU),
690
+ ParamGrid coeffGrid = getDefaultGrid(COEF),
691
+ ParamGrid degreeGrid = getDefaultGrid(DEGREE),
692
692
bool balanced=false) = 0;
693
693
694
694
/* * @brief Retrieves all the support vectors
You can’t perform that action at this time.
0 commit comments