Searched refs:CvSVM (Results 1 – 2 of 2) sorted by relevance
/external/opencv/ml/src/ |
D | mlsvm.cpp | 123 CvParamGrid CvSVM::get_default_grid( int param_id ) in get_default_grid() 126 if( param_id == CvSVM::C ) in get_default_grid() 132 else if( param_id == CvSVM::GAMMA ) in get_default_grid() 138 else if( param_id == CvSVM::P ) in get_default_grid() 144 else if( param_id == CvSVM::NU ) in get_default_grid() 150 else if( param_id == CvSVM::COEF ) in get_default_grid() 156 else if( param_id == CvSVM::DEGREE ) in get_default_grid() 170 svm_type(CvSVM::C_SVC), kernel_type(CvSVM::RBF), degree(0), in CvSVMParams() 222 calc_func = params->kernel_type == CvSVM::RBF ? &CvSVMKernel::calc_rbf : in create() 223 params->kernel_type == CvSVM::POLY ? &CvSVMKernel::calc_poly : in create() [all …]
|
/external/opencv/ml/include/ |
D | ml.h | 482 class CV_EXPORTS CvSVM : public CvStatModel 494 CvSVM(); 495 virtual ~CvSVM(); 497 CvSVM( const CvMat* _train_data, const CvMat* _responses, 507 CvParamGrid C_grid = get_default_grid(CvSVM::C), 508 CvParamGrid gamma_grid = get_default_grid(CvSVM::GAMMA), 509 CvParamGrid p_grid = get_default_grid(CvSVM::P), 510 CvParamGrid nu_grid = get_default_grid(CvSVM::NU), 511 CvParamGrid coef_grid = get_default_grid(CvSVM::COEF), 512 CvParamGrid degree_grid = get_default_grid(CvSVM::DEGREE) );
|