Home
last modified time | relevance | path

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

/external/opencv/ml/src/
Dmlrtrees.cpp301 float* true_resp_ptr = 0; in grow_forest() local
346 CV_CALL(true_resp_ptr = (float*)cvAlloc( sizeof(float)*nsamples )); in grow_forest()
348 CV_CALL(data->get_vectors( 0, samples_ptr, missing_ptr, true_resp_ptr )); in grow_forest()
351 CvMat responses = cvMat(1, nsamples, CV_32FC1, true_resp_ptr); in grow_forest()
401 avg_resp -= true_resp_ptr[i]; in grow_forest()
403 resp = (resp - true_resp_ptr[i])/maximal_response; in grow_forest()
419 oob_error += (fabs(prdct_resp - true_resp_ptr[i]) < FLT_EPSILON) ? 0 : 1; in grow_forest()
421 ncorrect_responses += cvRound(predicted_node->value - true_resp_ptr[i]) == 0; in grow_forest()
470 true_resp = true_resp_ptr[i]; in grow_forest()
502 cvFree( &true_resp_ptr ); in grow_forest()