Searched refs:rsum2 (Results 1 – 2 of 2) sorted by relevance
1578 double lsum2 = 0, rsum2 = 0, best_val = 0; in find_split_ord_class() local1597 rsum2 += (double)rc[i]*rc[i]; in find_split_ord_class()1606 rsum2 -= rv*2 - 1; in find_split_ord_class()1611 double val = (lsum2*R + rsum2*L)/((double)L*R); in find_split_ord_class()1627 rsum2 += wv*wv; in find_split_ord_class()1638 rsum2 -= p2*(rv*2 - 1); in find_split_ord_class()1643 double val = (lsum2*R + rsum2*L)/((double)L*R); in find_split_ord_class()1835 double lsum2 = 0, rsum2 = 0; in find_split_cat_class() local1867 rsum2 += p2*rval*rval; in find_split_cat_class()1882 rsum2 += p2*rval*rval; in find_split_cat_class()[all …]
273 double lsum2 = 0, rsum2 = rcw[0]*rcw[0] + rcw[1]*rcw[1]; in find_split_ord_class() local284 rsum2 -= 2*rv*w - w2; in find_split_ord_class()289 double val = (lsum2*R + rsum2*L)/(L*R); in find_split_ord_class()395 double rsum2 = rcw[0]*rcw[0] + rcw[1]*rcw[1]; in CV_IMPLEMENT_QSORT_EX() local402 double val = (lsum2*R + rsum2*L)/(L*R); in CV_IMPLEMENT_QSORT_EX()