Home
last modified time | relevance | path

Searched refs:sum_abs (Results 1 – 2 of 2) sorted by relevance

/external/opencv/ml/src/
Dmlboost.cpp195 double sum = 0, sum_abs = 0; in calc_node_dir() local
202 sum += d*w; sum_abs += (d & 1)*w; in calc_node_dir()
206 R = (sum_abs + sum) * 0.5; in calc_node_dir()
207 L = (sum_abs - sum) * 0.5; in calc_node_dir()
586 double sum = 0, sum_abs = 0; in find_surrogate_split_ord() local
594 sum += d*w; sum_abs += (d & 1)*w; in find_surrogate_split_ord()
598 RR = (sum_abs + sum)*0.5; in find_surrogate_split_ord()
599 LR = (sum_abs - sum)*0.5; in find_surrogate_split_ord()
664 double sum_abs = rc[idx] + (d & 1)*w; in find_surrogate_split_cat() local
665 lc[idx] = sum; rc[idx] = sum_abs; in find_surrogate_split_cat()
[all …]
Dmltree.cpp1443 int sum = 0, sum_abs = 0; in calc_node_dir() local
1449 sum += d; sum_abs += d & 1; in calc_node_dir()
1453 R = (sum_abs + sum) >> 1; in calc_node_dir()
1454 L = (sum_abs - sum) >> 1; in calc_node_dir()
1460 double sum = 0, sum_abs = 0; in calc_node_dir() local
1467 sum += d*w; sum_abs += (d & 1)*w; in calc_node_dir()
1471 R = (sum_abs + sum) * 0.5; in calc_node_dir()
1472 L = (sum_abs - sum) * 0.5; in calc_node_dir()
2065 int sum = 0, sum_abs = 0; in find_surrogate_split_ord() local
2070 sum += d; sum_abs += d & 1; in find_surrogate_split_ord()
[all …]