Lines Matching refs:_params
155 SVMKernelImpl( const SvmParams& _params = SvmParams() ) in SVMKernelImpl() argument
157 params = _params; in SVMKernelImpl()
1345 void setParams( const SvmParams& _params) in setParams() argument
1347 params = _params; in setParams()
2084 SvmParams _params; in read_params() local
2114 _params.svmType = svmType; in read_params()
2115 _params.kernelType = kernelType; in read_params()
2116 _params.degree = (double)kernel_node["degree"]; in read_params()
2117 _params.gamma = (double)kernel_node["gamma"]; in read_params()
2118 _params.coef0 = (double)kernel_node["coef0"]; in read_params()
2120 _params.C = (double)fn["C"]; in read_params()
2121 _params.nu = (double)fn["nu"]; in read_params()
2122 _params.p = (double)fn["p"]; in read_params()
2123 _params.classWeights = Mat(); in read_params()
2128 _params.termCrit.epsilon = (double)tcnode["epsilon"]; in read_params()
2129 _params.termCrit.maxCount = (int)tcnode["iterations"]; in read_params()
2130 _params.termCrit.type = (_params.termCrit.epsilon > 0 ? TermCriteria::EPS : 0) + in read_params()
2131 (_params.termCrit.maxCount > 0 ? TermCriteria::COUNT : 0); in read_params()
2134 … _params.termCrit = TermCriteria( TermCriteria::EPS + TermCriteria::COUNT, 1000, FLT_EPSILON ); in read_params()
2136 setParams( _params ); in read_params()