Searched defs:to_right (Results 1 - 2 of 2) sorted by relevance

/external/opencv/ml/src/
H A Dmltree.cpp3062 int i, n = data->cat_count->data.i[ci], to_right = 0, default_dir; local
3064 to_right += CV_DTREE_CAT_DIR(i,split->subset) > 0;
3068 default_dir = to_right <= 1 || to_right <= MIN(3, n/2) || to_right <= n/3 ? -1 : 1;
/external/opencv3/apps/traincascade/
H A Dold_ml_tree.cpp3796 int i, n = data->cat_count->data.i[ci], to_right = 0, default_dir; local
3798 to_right += CV_DTREE_CAT_DIR(i,split->subset) > 0;
3802 default_dir = to_right <= 1 || to_right <= MIN(3, n/2) || to_right <= n/3 ? -1 : 1;

Completed in 65 milliseconds