Lines Matching full:degree
156 else if( param_id == CvSVM::DEGREE )
170 svm_type(CvSVM::C_SVC), kernel_type(CvSVM::RBF), degree(0),
182 degree(_degree), gamma(_gamma), coef0(_coef0),
262 cvPow( &R, &R, params->degree );
1231 params.degree = 0;
1232 else if( params.degree <= 0 )
1233 CV_ERROR( CV_StsOutOfRange, "The kernel parameter <degree> must be positive" );
1613 double gamma = 0, C = 0, degree = 0, coef = 0, p = 0, nu = 0;
1676 degree_grid.min_val = degree_grid.max_val = params.degree;
1684 degree_grid.min_val = degree_grid.max_val = params.degree;
1775 degree = degree_grid.min_val;
1778 params.degree = degree;
1823 best_degree = degree;
1830 degree *= degree_grid.step;
1832 while( degree < degree_grid.max_val );
1856 params.degree = best_degree;
2007 cvWriteReal( fs, "degree", params.degree );
2170 _params.degree = cvReadRealByName( fs, kernel_node, "degree", 0 );
2460 double rate = 0, gamma = 0, C = 0, degree = 0, coef = 0, p = 0, nu = 0;
2485 svm_params.degree = svm_params.degree > 0 ? svm_params.degree : 1;
2508 degree_begin = degree_end = svm_params.degree;
2599 degree_begin = degree_end = svm_params.degree;
2622 for( degree = degree_begin; degree <= degree_end; degree *= degree_step )
2624 svm_params.degree = degree;
2625 //printf("degree = %.3f\n", degree );
2655 best_degree = degree;
2669 //printf("The best:\nrate = %.2f%% degree = %f gamma = %f coef = %f c = %f nu = %f p = %f\n",
2676 psvm_params->degree = best_degree;