/external/opencv/ml/src/ |
mlboost.cpp | 449 double best_val = 0, lsum = 0, rsum = node->value*n; local 457 rsum -= responses[idx]*w; 468 lsum += t; rsum -= t; 472 double val = (lsum*lsum*R + rsum*rsum*L)/(L*R); 500 double L = 0, R = 0, best_val = 0, lsum = 0, rsum = 0; local 521 rsum += sum[i]; 542 rsum -= s; R -= ni; 546 double val = (lsum*lsum*R + rsum*rsum*L)/(L*R) [all...] |
mltree.cpp | 1979 double best_val = 0, lsum = 0, rsum = 0; local [all...] |
/external/opencv3/apps/traincascade/ |
old_ml_boost.cpp | 506 double best_val = init_quality, lsum = 0, rsum = node->value*R; local 513 rsum -= responses[idx]*w; 524 lsum += t; rsum -= t; 528 double val = (lsum*lsum*R + rsum*rsum*L)/(L*R); 574 double L = 0, R = 0, best_val = init_quality, lsum = 0, rsum = 0; local 595 rsum += sum[i]; 616 rsum -= s; R -= ni; 620 double val = (lsum*lsum*R + rsum*rsum*L)/(L*R) [all...] |
old_ml_tree.cpp | 2397 double best_val = init_quality, lsum = 0, rsum = node->value*n; local 2458 double best_val = init_quality, lsum = 0, rsum = 0; local [all...] |