Searched refs:pred_resp (Results 1 – 4 of 4) sorted by relevance
141 float* pred_resp = 0; in ann_calc_error() local148 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()
1276 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];
1844 float* pred_resp = 0; in calc_error() local1848 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()
3331 float* pred_resp = 0; in calc_error() local3335 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()