Lines Matching refs:GAMMA
132 else if( param_id == CvSVM::GAMMA )
164 "(use one of CvSVM::C, CvSVM::GAMMA et al.)", __FILE__, __LINE__ );
171 gamma(1), coef0(0), C(1), nu(0), p(0), class_weights(0)
182 degree(_degree), gamma(_gamma), coef0(_coef0),
261 calc_non_rbf_base( vcount, var_count, vecs, another, results, params->gamma, params->coef0 );
271 -2*params->gamma, -2*params->coef0 );
289 double gamma = -params->gamma;
315 results[j] = (Qfloat)(s*gamma);
1221 params.gamma = 1;
1222 else if( params.gamma <= 0 )
1223 CV_ERROR( CV_StsOutOfRange, "gamma parameter of the kernel must be positive" );
1613 double gamma = 0, C = 0, degree = 0, coef = 0, p = 0, nu = 0;
1644 gamma_grid.min_val = gamma_grid.max_val = params.gamma;
1686 gamma_grid.min_val = gamma_grid.max_val = params.gamma;
1759 gamma = gamma_grid.min_val;
1762 params.gamma = gamma;
1824 best_gamma = gamma;
1842 gamma *= gamma_grid.step;
1844 while( gamma < gamma_grid.max_val );
1855 params.gamma = best_gamma;
2010 cvWriteReal( fs, "gamma", params.gamma );
2171 _params.gamma = cvReadRealByName( fs, kernel_node, "gamma", 0 );
2460 double rate = 0, gamma = 0, C = 0, degree = 0, coef = 0, p = 0, nu = 0;
2486 svm_params.gamma = svm_params.gamma > 0 ? svm_params.gamma : 1;
2526 g_begin = g_end = svm_params.gamma;
2602 g_begin = g_end = svm_params.gamma;
2626 for( gamma= g_begin; gamma <= g_end; gamma *= g_step )
2628 svm_params.gamma = gamma;
2629 //printf(" gamma = %.3f\n", gamma );
2656 best_gamma = gamma;
2669 //printf("The best:\nrate = %.2f%% degree = %f gamma = %f coef = %f c = %f nu = %f p = %f\n",
2675 psvm_params->gamma = best_gamma;