Lines Matching refs:weak_eval
170 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()
1121 weak_eval->data.db[i] *= -orig_response->data.i[i]; in update_weights()
1123 cvExp( weak_eval, weak_eval ); in update_weights()
1127 double w = weights->data.db[i]*weak_eval->data.db[i]; in update_weights()
1153 double s = sum_response->data.db[i] + 0.5*weak_eval->data.db[i]; in update_weights()
1155 weak_eval->data.db[i] = -2*s; in update_weights()
1158 cvExp( weak_eval, weak_eval ); in update_weights()
1162 double p = 1./(1. + weak_eval->data.db[i]); in update_weights()
1187 weak_eval->data.db[i] *= -orig_response->data.i[i]; in update_weights()
1189 cvExp( weak_eval, weak_eval ); in update_weights()
1193 double w = weights->data.db[i] * weak_eval->data.db[i]; in update_weights()
1229 cvCopy( weights, weak_eval ); in CV_IMPLEMENT_QSORT_EX()
1231 icvSort_64f( weak_eval->data.db, count, 0 ); in CV_IMPLEMENT_QSORT_EX()
1239 double w = weak_eval->data.db[i]; in CV_IMPLEMENT_QSORT_EX()
1245 threshold = i < count ? weak_eval->data.db[i] : DBL_MAX; in CV_IMPLEMENT_QSORT_EX()
1640 return weak_eval; in get_weak_response()