Lines Matching refs:db
169 double* weak_eval = ensemble->get_weak_response()->data.db;
185 const double* weights = ensemble->get_subtree_weights()->data.db;
256 const double* weights = ensemble->get_subtree_weights()->data.db;
382 const double* weights = ensemble->get_subtree_weights()->data.db;
486 const double* weights = ensemble->get_subtree_weights()->data.db;
554 const double* weights = ensemble->get_subtree_weights()->data.db;
663 const double* weights = ensemble->get_subtree_weights()->data.db;
728 const double* weights = ensemble->get_subtree_weights()->data.db;
798 const double* weights = ensemble->get_weights()->data.db;
802 double* subtree_weights = ensemble->get_subtree_weights()->data.db;
1194 p[0] = data->priors->data.db[0]*(c1 < n ? 1./(n - c1) : 0.);
1195 p[1] = data->priors->data.db[1]*(c1 > 0 ? 1./c1 : 0.);
1212 weights->data.db[i] = w0*p[class_labels[i]];
1231 weights->data.db[i] = w0*p[class_labels[i]];
1244 sum_response->data.db[i] = 0;
1288 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value;
1306 double w = weights->data.db[i];
1308 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]);
1319 double w = weights->data.db[i]*
1320 scale[weak_eval->data.db[i] != orig_response->data.i[i]];
1322 weights->data.db[i] = w;
1334 weak_eval->data.db[i] *= -orig_response->data.i[i];
1340 double w = weights->data.db[i]*weak_eval->data.db[i];
1342 weights->data.db[i] = w;
1368 double s = sum_response->data.db[i] + 0.5*weak_eval->data.db[i];
1369 sum_response->data.db[i] = s;
1370 weak_eval->data.db[i] = -2*s;
1377 double p = 1./(1. + weak_eval->data.db[i]);
1380 weights->data.db[i] = w;
1402 weak_eval->data.db[i] *= -orig_response->data.i[i];
1408 double w = weights->data.db[i] * weak_eval->data.db[i];
1409 weights->data.db[i] = w;
1420 weights->data.db[i] *= sumw;
1443 std::sort(weak_eval->data.db, weak_eval->data.db + count);
1451 double w = weak_eval->data.db[i];
1457 threshold = i < count ? weak_eval->data.db[i] : DBL_MAX;
1461 double w = weights->data.db[i];