Home
last modified time | relevance | path

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

/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
Dmock_adb.py21 self._responses = {} # Maps expected_cmd (str) -> prepared_response (str).
27 json.dump(self._responses, f)
36 self._responses[cmd] = response
/external/opencv/ml/include/
Dml.h244 CvNormalBayesClassifier( const CvMat* _train_data, const CvMat* _responses,
247 virtual bool train( const CvMat* _train_data, const CvMat* _responses,
282 CvKNearest( const CvMat* _train_data, const CvMat* _responses,
285 virtual bool train( const CvMat* _train_data, const CvMat* _responses,
497 CvSVM( const CvMat* _train_data, const CvMat* _responses,
501 virtual bool train( const CvMat* _train_data, const CvMat* _responses,
504 virtual bool train_auto( const CvMat* _train_data, const CvMat* _responses,
531 const void* _responses, double Cp, double Cn,
534 const CvMat* _responses, CvMemStorage* _storage, double* alpha );
741 const CvMat* _responses, const CvMat* _var_idx=0,
[all …]
/external/opencv/ml/src/
Dmlknearest.cpp61 CvKNearest::CvKNearest( const CvMat* _train_data, const CvMat* _responses, in CvKNearest() argument
65 train( _train_data, _responses, _sample_idx, _is_regression, _max_k, false ); in CvKNearest()
92 bool CvKNearest::train( const CvMat* _train_data, const CvMat* _responses, in train() argument
114 _responses, CV_VAR_ORDERED, 0, _sample_idx, true, (const float***)&_data, in train()
Dml_inner_functions.cpp970 CvMat* _responses = 0; in cvPrepareTrainData() local
1020 CV_CALL( _responses = cvPreprocessOrderedResponses( responses, in cvPrepareTrainData()
1025 CV_CALL( _responses = cvPreprocessCategoricalResponses( responses, in cvPrepareTrainData()
1041 *out_responses = _responses, _responses = 0; in cvPrepareTrainData()
1065 if( _responses != responses ) in cvPrepareTrainData()
1066 cvReleaseMat( &_responses ); in cvPrepareTrainData()
1740 void cvCombineResponseMaps (CvMat* _responses, in cvCombineResponseMaps() argument
1762 if ((!ICV_IS_MAT_OF_TYPE (_responses, CV_32SC1)) || in cvCombineResponseMaps()
1830 samples = _responses->cols + _responses->rows - 1; in cvCombineResponseMaps()
1831 responses = _responses->data.i; in cvCombineResponseMaps()
Dmlnbayes.cpp88 const CvMat* _train_data, const CvMat* _responses, in CvNormalBayesClassifier() argument
103 train( _train_data, _responses, _var_idx, _sample_idx ); in CvNormalBayesClassifier()
107 bool CvNormalBayesClassifier::train( const CvMat* _train_data, const CvMat* _responses, in train() argument
127 _train_data, CV_ROW_SAMPLE, _responses, CV_VAR_CATEGORICAL, in train()
Dmltree.cpp58 const CvMat* _responses, const CvMat* _var_idx, in CvDTreeTrainData() argument
67 set_data( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvDTreeTrainData()
126 const CvMat* _responses, const CvMat* _var_idx, const CvMat* _sample_idx, in CV_IMPLEMENT_QSORT_EX()
150 data = new CvDTreeTrainData( _train_data, _tflag, _responses, _var_idx, in CV_IMPLEMENT_QSORT_EX()
225 if( !CV_IS_MAT(_responses) || in CV_IMPLEMENT_QSORT_EX()
226 (CV_MAT_TYPE(_responses->type) != CV_32SC1 && in CV_IMPLEMENT_QSORT_EX()
227 CV_MAT_TYPE(_responses->type) != CV_32FC1) || in CV_IMPLEMENT_QSORT_EX()
228 _responses->rows != 1 && _responses->cols != 1 || in CV_IMPLEMENT_QSORT_EX()
229 _responses->rows + _responses->cols - 1 != sample_all ) in CV_IMPLEMENT_QSORT_EX()
330 step = CV_IS_MAT_CONT(_responses->type) ? in CV_IMPLEMENT_QSORT_EX()
[all …]
Dmlsvm.cpp1173 CvSVM::CvSVM( const CvMat* _train_data, const CvMat* _responses, in CvSVM() argument
1185 train( _train_data, _responses, _var_idx, _sample_idx, _params ); in CvSVM()
1283 const void* _responses, double Cp, double Cn, in train1() argument
1297 …ok = svm_type == C_SVC ? solver->solve_c_svc( sample_count, var_count, samples, (schar*)_responses, in train1()
1299 … svm_type == NU_SVC ? solver->solve_nu_svc( sample_count, var_count, samples, (schar*)_responses, in train1()
1303 … svm_type == EPS_SVR ? solver->solve_eps_svr( sample_count, var_count, samples, (float*)_responses, in train1()
1305 … svm_type == NU_SVR ? solver->solve_nu_svr( sample_count, var_count, samples, (float*)_responses, in train1()
1525 bool CvSVM::train( const CvMat* _train_data, const CvMat* _responses, in train() argument
1548 svm_type != CvSVM::ONE_CLASS ? _responses : 0, in train()
1590 bool CvSVM::train_auto( const CvMat* _train_data, const CvMat* _responses, in train_auto() argument
[all …]
Dmlboost.cpp855 const CvMat* _responses, const CvMat* _var_idx, in CvBoost() argument
864 train( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvBoost()
909 const CvMat* _responses, const CvMat* _var_idx, in train() argument
928 data = new CvDTreeTrainData( _train_data, _tflag, _responses, _var_idx, in train()
940 data->set_data( _train_data, _tflag, _responses, _var_idx, in train()
Dmlrtrees.cpp232 const CvMat* _responses, const CvMat* _var_idx, in train() argument
250 CV_CALL(data->set_data( _train_data, _tflag, _responses, _var_idx, in train()
D_ml.h307 cvCombineResponseMaps (CvMat* _responses,
Dmlcnn.cpp163 const CvMat* _responses,
183 _train_data, tflag, _responses, CV_VAR_CATEGORICAL,
397 const CvMat* _responses, const CvStatModelParams* _params,
416 _train_data, tflag, _responses, CV_VAR_CATEGORICAL,