Home
last modified time | relevance | path

Searched refs:rsum (Results 1 – 3 of 3) sorted by relevance

/external/opencv/ml/src/
Dmlboost.cpp449 double best_val = 0, lsum = 0, rsum = node->value*n; in find_split_ord_reg() local
457 rsum -= responses[idx]*w; in find_split_ord_reg()
468 lsum += t; rsum -= t; in find_split_ord_reg()
472 double val = (lsum*lsum*R + rsum*rsum*L)/(L*R); in find_split_ord_reg()
500 double L = 0, R = 0, best_val = 0, lsum = 0, rsum = 0; in find_split_cat_reg() local
521 rsum += sum[i]; in find_split_cat_reg()
542 rsum -= s; R -= ni; in find_split_cat_reg()
546 double val = (lsum*lsum*R + rsum*rsum*L)/(L*R); in find_split_cat_reg()
Dmltree.cpp1935 double best_val = 0, lsum = 0, rsum = node->value*n; in find_split_ord_reg() local
1940 rsum -= responses[sorted[i].i]; in find_split_ord_reg()
1948 rsum -= t; in find_split_ord_reg()
1952 double val = (lsum*lsum*R + rsum*rsum*L)/((double)L*R); in find_split_ord_reg()
1979 double best_val = 0, lsum = 0, rsum = 0; in find_split_cat_reg() local
1999 rsum += sum[i]; in find_split_cat_reg()
2020 rsum -= s; R -= ni; in find_split_cat_reg()
2024 double val = (lsum*lsum*R + rsum*rsum*L)/((double)L*R); in find_split_cat_reg()
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingSphere.java679 float rsum = getRadius() + bs.getRadius(); in intersectsSphere() local
680 boolean eq = (diff.dot(diff) <= rsum * rsum); in intersectsSphere()