Home | History | Annotate | Download | only in src

Lines Matching defs:responses

169         // store the responses for the corresponding training samples
248 const int* responses = data->get_class_labels(node);
264 rcw[responses[idx]] -= w;
280 idx = responses[idx];
304 idx = responses[idx];
335 const int* responses = data->get_class_labels(node);
359 k = responses[i];
444 const float* responses = data->get_ord_responses(node);
457 rsum -= responses[idx]*w;
466 double t = responses[idx]*w;
492 const float* responses = data->get_ord_responses(node);
511 double s = sum[idx] + responses[i]*w;
711 const int* responses = data->get_class_labels(node);
716 double w = weights[idx]/*priors[responses[i]]*/;
717 rcw[responses[i]] += w;
725 // ignore cat_map for responses, and use {-1,1},
984 float* responses = data->get_ord_responses(data->data_root);
1015 // save original categorical responses {0,1}, convert them to {-1,1}
1034 responses[i] = orig_response->data.i[i] > 0 ? 2.f : -2.f;
1044 responses[i] = (float)orig_response->data.i[i];
1052 // recent weak classifier we know the responses. For other samples we need to compute them
1142 // store z_i to the data->data_root as the new target responses
1146 float* responses = data->get_ord_responses(data->data_root);
1170 responses[i] = (float)MIN(z, lb_z_max);
1175 responses[i] = (float)-MIN(z, lb_z_max);
1317 "The output matrix of weak classifier responses must be valid "