Home
last modified time | relevance | path

Searched refs:lcw (Results 1 – 3 of 3) sorted by relevance

/external/opencv/ml/src/
Dmlboost.cpp253 double lcw[2] = {0,0}, rcw[2]; in find_split_ord_class() local
282 lv = lcw[idx]; rv = rcw[idx]; in find_split_ord_class()
285 lcw[idx] = lv + w; rcw[idx] = rv - w; in find_split_ord_class()
305 lcw[idx] += w; in find_split_ord_class()
310 double val = lcw[0] + rcw[1], val2 = lcw[1] + rcw[0]; in find_split_ord_class()
339 double lcw[2]={0,0}, rcw[2]={0,0}; in CV_IMPLEMENT_QSORT_EX() local
389 lcw[0] += w0; rcw[0] -= w0; in CV_IMPLEMENT_QSORT_EX()
390 lcw[1] += w1; rcw[1] -= w1; in CV_IMPLEMENT_QSORT_EX()
394 double lsum2 = lcw[0]*lcw[0] + lcw[1]*lcw[1]; in CV_IMPLEMENT_QSORT_EX()
412 double val = lcw[0] + rcw[1]; in CV_IMPLEMENT_QSORT_EX()
[all …]
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp273 double lcw[2] = {0,0}, rcw[2]; in find_split_ord_class() local
302 lv = lcw[idx]; rv = rcw[idx]; in find_split_ord_class()
305 lcw[idx] = lv + w; rcw[idx] = rv - w; in find_split_ord_class()
325 lcw[idx] += w; in find_split_ord_class()
330 double val = lcw[0] + rcw[1], val2 = lcw[1] + rcw[0]; in find_split_ord_class()
379 double lcw[2]={0,0}, rcw[2]={0,0}; in find_split_cat_class() local
430 lcw[0] += w0; rcw[0] -= w0; in find_split_cat_class()
431 lcw[1] += w1; rcw[1] -= w1; in find_split_cat_class()
435 double lsum2 = lcw[0]*lcw[0] + lcw[1]*lcw[1]; in find_split_cat_class()
453 double val = lcw[0] + rcw[1]; in find_split_cat_class()
[all …]
/external/opencv3/modules/ml/src/
Dtree.cpp649 double* lcw = (double*)(uchar*)buf; in findSplitOrdClass() local
650 double* rcw = lcw + m; in findSplitOrdClass()
657 lcw[i] = rcw[i] = 0.; in findSplitOrdClass()
686 double lv = lcw[idx], rv = rcw[idx]; in findSplitOrdClass()
689 lcw[idx] = lv + wval; rcw[idx] = rv - wval; in findSplitOrdClass()