/external/opencv/ml/src/ |
mlboost.cpp | 253 double lcw[2] = {0,0}, rcw[2]; local 259 rcw[0] = rcw0[0]; rcw[1] = rcw0[1]; 264 rcw[responses[idx]] -= w; 272 double L = 0, R = rcw[0] + rcw[1]; 273 double lsum2 = 0, rsum2 = rcw[0]*rcw[0] + rcw[1]*rcw[1] 339 double lcw[2]={0,0}, rcw[2]={0,0}; local 705 double rcw[2] = {0,0}; local [all...] |
/external/opencv3/apps/traincascade/ |
old_ml_boost.cpp | 273 double lcw[2] = {0,0}, rcw[2]; local 279 rcw[0] = rcw0[0]; rcw[1] = rcw0[1]; 284 rcw[responses[idx]] -= w; 292 double L = 0, R = rcw[0] + rcw[1]; 293 double lsum2 = 0, rsum2 = rcw[0]*rcw[0] + rcw[1]*rcw[1] 379 double lcw[2]={0,0}, rcw[2]={0,0}; local 803 double rcw[2] = {0,0}; local [all...] |
/external/opencv3/modules/ml/src/ |
tree.cpp | 650 double* rcw = lcw + m; local 651 float* values = (float*)(rcw + m); 657 lcw[i] = rcw[i] = 0.; 665 rcw[responses[si]] += weights[si]; 673 double wval = rcw[i]; 686 double lv = lcw[idx], rv = rcw[idx]; 689 lcw[idx] = lv + wval; rcw[idx] = rv - wval; [all...] |