Searched refs:sum_abs (Results 1 – 5 of 5) sorted by relevance
/external/opencv/ml/src/ |
D | mlboost.cpp | 195 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 …]
|
D | mltree.cpp | 1443 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 …]
|
/external/opencv3/apps/traincascade/ |
D | old_ml_tree.cpp | 1788 int sum = 0, sum_abs = 0; in calc_node_dir() local 1795 sum += d; sum_abs += d & 1; in calc_node_dir() 1799 R = (sum_abs + sum) >> 1; in calc_node_dir() 1800 L = (sum_abs - sum) >> 1; in calc_node_dir() 1805 double sum = 0, sum_abs = 0; in calc_node_dir() local 1814 sum += d*w; sum_abs += (d & 1)*w; in calc_node_dir() 1818 R = (sum_abs + sum) * 0.5; in calc_node_dir() 1819 L = (sum_abs - sum) * 0.5; in calc_node_dir() 2555 int sum = 0, sum_abs = 0; in find_surrogate_split_ord() local 2560 sum += d; sum_abs += d & 1; in find_surrogate_split_ord() [all …]
|
D | old_ml_boost.cpp | 196 double sum = 0, sum_abs = 0; in calc_node_dir() local 203 sum += d*w; sum_abs += (d & 1)*w; in calc_node_dir() 207 R = (sum_abs + sum) * 0.5; in calc_node_dir() 208 L = (sum_abs - sum) * 0.5; in calc_node_dir() 674 double sum = 0, sum_abs = 0; in find_surrogate_split_ord() local 682 sum += d*w; sum_abs += (d & 1)*w; in find_surrogate_split_ord() 686 RR = (sum_abs + sum)*0.5; in find_surrogate_split_ord() 687 LR = (sum_abs - sum)*0.5; in find_surrogate_split_ord() 760 double sum_abs = rc[idx] + (d & 1)*w; in find_surrogate_split_cat() local 761 lc[idx] = sum; rc[idx] = sum_abs; in find_surrogate_split_cat() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | nonlinear_beamformer.cc | 127 float sum_abs = 0.f; in SumAbs() local 131 sum_abs += std::abs(mat_els[i][j]); in SumAbs() 134 return sum_abs; in SumAbs()
|