Searched defs:k_fold (Results 1 - 1 of 1) sorted by relevance

/external/opencv/ml/src/
H A Dmlsvm.cpp1398 "been fell out of the sample. Try to enlarge <CvSVMParams::k_fold>" );
1591 const CvMat* _var_idx, const CvMat* _sample_idx, CvSVMParams _params, int k_fold,
1626 if( k_fold < 2 )
1627 CV_ERROR( CV_StsBadArg, "Parameter <k_fold> must be > 1" );
1724 const int testset_size = sample_count/k_fold;
1726 const int last_testset_size = sample_count - testset_size*(k_fold-1);
1786 for( k = 0; k < k_fold; k++ )
1797 if( k == k_fold - 1 )
1590 train_auto( const CvMat* _train_data, const CvMat* _responses, const CvMat* _var_idx, const CvMat* _sample_idx, CvSVMParams _params, int k_fold, CvParamGrid C_grid, CvParamGrid gamma_grid, CvParamGrid p_grid, CvParamGrid nu_grid, CvParamGrid coef_grid, CvParamGrid degree_grid ) argument

Completed in 268 milliseconds