Home | History | Annotate | Download | only in src

Lines Matching refs:db

170         double* weak_eval = ensemble->get_weak_response()->data.db;
185 const double* weights = ensemble->get_subtree_weights()->data.db;
249 const double* weights = ensemble->get_subtree_weights()->data.db;
341 const double* weights = ensemble->get_subtree_weights()->data.db;
445 const double* weights = ensemble->get_subtree_weights()->data.db;
493 const double* weights = ensemble->get_subtree_weights()->data.db;
575 const double* weights = ensemble->get_subtree_weights()->data.db;
641 const double* weights = ensemble->get_subtree_weights()->data.db;
702 const double* weights = ensemble->get_weights()->data.db;
704 double* subtree_weights = ensemble->get_subtree_weights()->data.db;
707 //const double* priors = data->priors->data.db;
1007 p[0] = data->priors->data.db[0]*(c1 < count ? 1./(count - c1) : 0.);
1008 p[1] = data->priors->data.db[1]*(c1 > 0 ? 1./c1 : 0.);
1021 weights->data.db[i] = w0*p[class_labels[i]];
1033 sum_response->data.db[i] = 0;
1075 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value;
1093 double w = weights->data.db[i];
1095 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]);
1106 double w = weights->data.db[i]*
1107 db[i] != orig_response->data.i[i]];
1109 weights->data.db[i] = w;
1121 weak_eval->data.db[i] *= -orig_response->data.i[i];
1127 double w = weights->data.db[i]*weak_eval->data.db[i];
1129 weights->data.db[i] = w;
1153 double s = sum_response->data.db[i] + 0.5*weak_eval->data.db[i];
1154 sum_response->data.db[i] = s;
1155 weak_eval->data.db[i] = -2*s;
1162 double p = 1./(1. + weak_eval->data.db[i]);
1165 weights->data.db[i] = w;
1187 weak_eval->data.db[i] *= -orig_response->data.i[i];
1193 double w = weights->data.db[i] * weak_eval->data.db[i];
1194 weights->data.db[i] = w;
1205 weights->data.db[i] *= sumw;
1231 icvSort_64f( weak_eval->data.db, count, 0 );
1239 double w = weak_eval->data.db[i];
1245 threshold = i < count ? weak_eval->data.db[i] : DBL_MAX;
1249 double w = weights->data.db[i];