Home
last modified time | relevance | path

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

/external/opencv/ml/src/
Dmlrtrees.cpp464 double predct_resp, true_resp; in grow_forest() local
470 true_resp = true_resp_ptr[i]; in grow_forest()
472 ncorrect_responses_permuted += cvRound(true_resp - predct_resp) == 0; in grow_forest()
475 true_resp = (true_resp - predct_resp)/maximal_response; in grow_forest()
476 ncorrect_responses_permuted += exp( -true_resp*true_resp ); in grow_forest()
Dmlsvm.cpp1781 uchar* true_resp = responses->data.ptr; in train_auto() local
1794 true_resp + resp_elem_size*test_size, in train_auto()
1811 … for( i = 0; i < test_size; i++, true_resp += resp_elem_size, test_samples_ptr++ ) in train_auto()
1816 error += is_regression ? powf( resp - *(float*)true_resp, 2 ) in train_auto()
1817 : ((int)resp != *(int*)true_resp); in train_auto()