Home
last modified time | relevance | path

Searched refs:pred_resp (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/modules/ml/test/
Dtest_mltests2.cpp141 float* pred_resp = 0; in ann_calc_error() local
148 pred_resp = &((*resp_labels)[0]); in ann_calc_error()
153 pred_resp = &(innresp[0]); in ann_calc_error()
171 pred_resp[i] = (float)best_cls.x; in ann_calc_error()
/external/opencv3/modules/ml/src/
Dgbt.cpp1276 float* pred_resp = 0;
1280 pred_resp = &((*resp)[0]);
1283 pred_resp = new float[n];
1285 Sample_predictor predictor = Sample_predictor(this, pred_resp, _data->get_values(),
1300 … int d = fabs((double)pred_resp[i] - response->data.fl[si*r_step]) <= FLT_EPSILON ? 0 : 1;
1310 float d = pred_resp[i] - response->data.fl[si*r_step];
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp1844 float* pred_resp = 0; in calc_error() local
1848 pred_resp = &((*resp)[0]); in calc_error()
1860 if( pred_resp ) in calc_error()
1861 pred_resp[i] = r; in calc_error()
1877 if( pred_resp ) in calc_error()
1878 pred_resp[i] = r; in calc_error()
Dold_ml_tree.cpp3331 float* pred_resp = 0; in calc_error() local
3335 pred_resp = &((*resp)[0]); in calc_error()
3348 if( pred_resp ) in calc_error()
3349 pred_resp[i] = r; in calc_error()
3365 if( pred_resp ) in calc_error()
3366 pred_resp[i] = r; in calc_error()