Searched refs:class_weights (Results 1 – 2 of 2) sorted by relevance
/external/opencv/ml/src/ |
D | mlsvm.cpp | 171 gamma(1), coef0(0), C(1), nu(0), p(0), class_weights(0) in CvSVMParams() 183 C(_Con), nu(_nu), p(_p), class_weights(_class_weights), term_crit(_term_crit) in CvSVMParams() 1139 class_weights = 0; in CvSVM() 1160 cvReleaseMat( &class_weights ); in clear() 1178 class_weights = 0; in CvSVM() 1256 params.class_weights = 0; in set_params() 1367 if( svm_type == CvSVM::C_SVC && params.class_weights ) in do_train() 1369 const CvMat* cw = params.class_weights; in do_train() 1377 CV_CALL( class_weights = cvCreateMat( cw->rows, cw->cols, CV_64F )); in do_train() 1378 CV_CALL( cvConvert( cw, class_weights )); in do_train() [all …]
|
/external/opencv/ml/include/ |
D | ml.h | 336 CvMat* class_weights; // for CV_SVM_C_SVC member 547 CvMat* class_weights; variable
|