Home | History | Annotate | Download | only in src

Lines Matching full:class_weights

171     gamma(1), coef0(0), C(1), nu(0), p(0), class_weights(0)
183 C(_Con), nu(_nu), p(_p), class_weights(_class_weights), term_crit(_term_crit)
1139 class_weights = 0;
1160 cvReleaseMat( &class_weights );
1178 class_weights = 0;
1256 params.class_weights = 0;
1367 if( svm_type == CvSVM::C_SVC && params.class_weights )
1369 const CvMat* cw = params.class_weights;
1374 CV_ERROR( CV_StsBadArg, "params.class_weights must be 1d floating-point vector "
1377 CV_CALL( class_weights = cvCreateMat( cw->rows, cw->cols, CV_64F ));
1378 CV_CALL( cvConvert( cw, class_weights ));
1379 CV_CALL( cvScale( class_weights, class_weights, params.C ));
1440 if( class_weights )
1442 Cp = class_weights->data.db[i];
1443 Cn = class_weights->data.db[j];
2065 if( class_weights )
2066 cvWrite( fs, "class_weights", class_weights );
2177 _params.class_weights = 0;
2228 CV_CALL( class_weights = (CvMat*)cvReadByName( fs, svm_node, "class_weights" ));
2348 if( src->class_weights )
2349 dst->class_weights = cvCloneMat( src->class_weights );