Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_media.py206 orig_response = httplib.HTTPConnection.getresponse(self)
207 if orig_response.status not in (httplib.OK, httplib.PARTIAL_CONTENT):
208 return orig_response
209 orig_read_func = orig_response.read
247 orig_response.read = read
249 return orig_response
/external/opencv3/modules/ml/src/
Dgbt.cpp47 orig_response = sum_response = sum_response_tmp = 0;
103 cvReleaseMat( &orig_response );
130 orig_response = sum_response = sum_response_tmp = 0;
206 orig_response = cvCreateMat( 1, n, CV_32F );
213 orig_response->data.fl[i] = _responses->data.fl[i*step];
218 orig_response->data.fl[i] = (float) _responses->data.i[i*step];
235 if (int(orig_response->data.fl[j]) == int(orig_response->data.fl[i]))
241 class_labels->data.i[0] = int(orig_response->data.fl[0]);
246 while ((int(orig_response->data.fl[i]) - class_labels->data.i[k]) && (k<j))
250 class_labels->data.i[k] = int(orig_response->data.fl[i]);
[all …]
/external/opencv/ml/src/
Dmlboost.cpp799 orig_response = sum_response = weak_eval = subsample_mask = in CvBoost()
839 cvReleaseMat( &orig_response ); in clear()
862 orig_response = sum_response = weak_eval = subsample_mask = weights = 0; in CvBoost()
989 cvReleaseMat( &orig_response ); in update_weights()
995 CV_CALL( orig_response = cvCreateMat( 1, count, CV_32S )); in update_weights()
1016 orig_response->data.i[i] = class_labels[i]*2 - 1; in update_weights()
1034 responses[i] = orig_response->data.i[i] > 0 ? 2.f : -2.f; in update_weights()
1044 responses[i] = (float)orig_response->data.i[i]; in update_weights()
1095 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); in update_weights()
1107 scale[weak_eval->data.db[i] != orig_response->data.i[i]]; in update_weights()
[all …]
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp905 active_vars = active_vars_abs = orig_response = sum_response = weak_eval = in CvBoost()
948 cvReleaseMat( &orig_response ); in clear()
974 active_vars = active_vars_abs = orig_response = sum_response = weak_eval = in CvBoost()
1175 cvReleaseMat( &orig_response ); in update_weights()
1182 CV_CALL( orig_response = cvCreateMat( 1, n, CV_32S )); in update_weights()
1207 orig_response->data.i[i] = class_labels[i]*2 - 1; in update_weights()
1226 orig_response->data.i[i] = class_labels[i]*2 - 1; in update_weights()
1245 fdata[sample_idx[i]*step] = orig_response->data.i[i] > 0 ? 2.f : -2.f; in update_weights()
1255 fdata[sample_idx[i]*step] = (float)orig_response->data.i[i]; in update_weights()
1308 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); in update_weights()
[all …]
Dboost.cpp1461 cvReleaseMat( &orig_response ); in update_weights()
1467 orig_response = cvCreateMat( 1, n, CV_32S ); in update_weights()
1480 orig_response->data.i[i] = classLabels[i]*2 - 1; in update_weights()
1499 orig_response->data.i[i] = classLabels[i]*2 - 1; in update_weights()
1513 fdata[sampleIdx[i]*step] = orig_response->data.i[i] > 0 ? 2.f : -2.f; in update_weights()
1523 fdata[sampleIdx[i]*step] = (float)orig_response->data.i[i]; in update_weights()
1561 err += w*(weak_eval->data.db[i] != orig_response->data.i[i]); in update_weights()
1573 scale[weak_eval->data.db[i] != orig_response->data.i[i]]; in update_weights()
1587 weak_eval->data.db[i] *= -orig_response->data.i[i]; in update_weights()
1629 if( orig_response->data.i[i] > 0 ) in update_weights()
[all …]
Dold_ml.hpp1195 CvMat* orig_response; member in CvBoost
1761 CvMat* orig_response; member in CvGBTrees
/external/opencv/ml/include/
Dml.h1131 CvMat* orig_response; variable