Home
last modified time | relevance | path

Searched refs:weak_eval (Results 1 – 5 of 5) sorted by relevance

/external/opencv/ml/src/
Dmlboost.cpp170 double* weak_eval = ensemble->get_weak_response()->data.db; in try_split_node() local
176 weak_eval[labels[i]] = value; in try_split_node()
799 orig_response = sum_response = weak_eval = subsample_mask = in CvBoost()
841 cvReleaseMat( &weak_eval ); in clear()
862 orig_response = sum_response = weak_eval = subsample_mask = weights = 0; in CvBoost()
991 cvReleaseMat( &weak_eval ); in update_weights()
996 CV_CALL( weak_eval = cvCreateMat( 1, count, CV_64F )); in update_weights()
1075 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value; in update_weights()
1095 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); in update_weights()
1107 scale[weak_eval->data.db[i] != orig_response->data.i[i]]; in update_weights()
[all …]
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp169 double* weak_eval = ensemble->get_weak_response()->data.db; in try_split_node() local
176 weak_eval[labels[i]] = value; in try_split_node()
905 active_vars = active_vars_abs = orig_response = sum_response = weak_eval = in CvBoost()
950 cvReleaseMat( &weak_eval ); in clear()
974 active_vars = active_vars_abs = orig_response = sum_response = weak_eval = in CvBoost()
1177 cvReleaseMat( &weak_eval ); in update_weights()
1183 CV_CALL( weak_eval = cvCreateMat( 1, n, CV_64F )); in update_weights()
1288 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value; in update_weights()
1308 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); in update_weights()
1320 scale[weak_eval->data.db[i] != orig_response->data.i[i]]; in update_weights()
[all …]
Dboost.cpp1463 cvReleaseMat( &weak_eval ); in update_weights()
1468 weak_eval = cvCreateMat( 1, n, CV_64F ); in update_weights()
1541 weak_eval->data.db[i] = ((CvCascadeBoostTree*)tree)->predict( i )->value; in update_weights()
1561 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); in update_weights()
1573 scale[weak_eval->data.db[i] != orig_response->data.i[i]]; in update_weights()
1587 weak_eval->data.db[i] *= -orig_response->data.i[i]; in update_weights()
1589 cvExp( weak_eval, weak_eval ); in update_weights()
1593 double w = weights->data.db[i]*weak_eval->data.db[i]; in update_weights()
1615 double s = sum_response->data.db[i] + 0.5*weak_eval->data.db[i]; in update_weights()
1617 weak_eval->data.db[i] = -2*s; in update_weights()
[all …]
Dold_ml.hpp1197 CvMat* weak_eval; member in CvBoost
/external/opencv/ml/include/
Dml.h1133 CvMat* weak_eval; variable