• Home
  • Raw
  • Download

Lines Matching refs:_params

208 CvSVMKernel::CvSVMKernel( const CvSVMParams* _params, Calc _calc_func )  in CvSVMKernel()  argument
211 create( _params, _calc_func ); in CvSVMKernel()
215 bool CvSVMKernel::create( const CvSVMParams* _params, Calc _calc_func ) in create() argument
218 params = _params; in create()
1174 const CvMat* _var_idx, const CvMat* _sample_idx, CvSVMParams _params ) in CvSVM() argument
1185 train( _train_data, _responses, _var_idx, _sample_idx, _params ); in CvSVM()
1201 bool CvSVM::set_params( const CvSVMParams& _params ) in set_params() argument
1211 params = _params; in set_params()
1526 const CvMat* _var_idx, const CvMat* _sample_idx, CvSVMParams _params ) in train() argument
1542 CV_CALL( set_params( _params )); in train()
1544 svm_type = _params.svm_type; in train()
1591 const CvMat* _var_idx, const CvMat* _sample_idx, CvSVMParams _params, int k_fold, in train_auto() argument
1617 if( _params.svm_type == CvSVM::ONE_CLASS ) in train_auto()
1619 if(!train( _train_data, _responses, _var_idx, _sample_idx, _params )) in train_auto()
1629 CV_CALL(set_params( _params )); in train_auto()
1630 svm_type = _params.svm_type; in train_auto()
2122 CvSVMParams _params; in read_params() local
2168 _params.svm_type = svm_type; in read_params()
2169 _params.kernel_type = kernel_type; in read_params()
2170 _params.degree = cvReadRealByName( fs, kernel_node, "degree", 0 ); in read_params()
2171 _params.gamma = cvReadRealByName( fs, kernel_node, "gamma", 0 ); in read_params()
2172 _params.coef0 = cvReadRealByName( fs, kernel_node, "coef0", 0 ); in read_params()
2174 _params.C = cvReadRealByName( fs, svm_node, "C", 0 ); in read_params()
2175 _params.nu = cvReadRealByName( fs, svm_node, "nu", 0 ); in read_params()
2176 _params.p = cvReadRealByName( fs, svm_node, "p", 0 ); in read_params()
2177 _params.class_weights = 0; in read_params()
2182 _params.term_crit.epsilon = cvReadRealByName( fs, tmp_node, "epsilon", -1. ); in read_params()
2183 _params.term_crit.max_iter = cvReadIntByName( fs, tmp_node, "iterations", -1 ); in read_params()
2184 _params.term_crit.type = (_params.term_crit.epsilon >= 0 ? CV_TERMCRIT_EPS : 0) + in read_params()
2185 (_params.term_crit.max_iter >= 0 ? CV_TERMCRIT_ITER : 0); in read_params()
2188 _params.term_crit = cvTermCriteria( CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 1000, FLT_EPSILON ); in read_params()
2190 set_params( _params ); in read_params()