Lines Matching refs:rsum2
1578 double lsum2 = 0, rsum2 = 0, best_val = 0; in find_split_ord_class() local
1597 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() local
1867 rsum2 += p2*rval*rval; in find_split_cat_class()
1882 rsum2 += p2*rval*rval; in find_split_cat_class()
1891 double val = (lsum2*R + rsum2*L)/((double)L*R); in find_split_cat_class()