Home
last modified time | relevance | path

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

/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,
740 CvDTreeTrainData( const CvMat* _train_data, int _tflag,
748 virtual void set_data( const CvMat* _train_data, int _tflag,
837 virtual bool train( const CvMat* _train_data, int _tflag,
[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
113 CV_CALL( cvPrepareTrainData( "CvKNearest::train", _train_data, CV_ROW_SAMPLE, in train()
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()
Dmlboost.cpp103 CvBoostTree::train( CvDTreeTrainData* _train_data, in train() argument
108 data = _train_data; in train()
854 CvBoost::CvBoost( const CvMat* _train_data, int _tflag, in CvBoost() argument
864 train( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvBoost()
908 CvBoost::train( const CvMat* _train_data, int _tflag, 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()
Dmltree.cpp57 CvDTreeTrainData::CvDTreeTrainData( const CvMat* _train_data, int _tflag, in CvDTreeTrainData() argument
67 set_data( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvDTreeTrainData()
125 void CvDTreeTrainData::set_data( const CvMat* _train_data, int _tflag, in CV_IMPLEMENT_QSORT_EX()
150 data = new CvDTreeTrainData( _train_data, _tflag, _responses, _var_idx, in CV_IMPLEMENT_QSORT_EX()
192 CV_CALL( cvCheckTrainData( _train_data, _tflag, _missing_mask, &var_all, &sample_all )); in CV_IMPLEMENT_QSORT_EX()
195 ds_step = _train_data->step/CV_ELEM_SIZE(_train_data->type); in CV_IMPLEMENT_QSORT_EX()
202 dv_step = _train_data->step/CV_ELEM_SIZE(_train_data->type); in CV_IMPLEMENT_QSORT_EX()
320 if( CV_MAT_TYPE(_train_data->type) == CV_32SC1 ) in CV_IMPLEMENT_QSORT_EX()
321 idata = _train_data->data.i + vi0*dv_step; in CV_IMPLEMENT_QSORT_EX()
323 fdata = _train_data->data.fl + vi0*dv_step; in CV_IMPLEMENT_QSORT_EX()
[all …]
Dmlrtrees.cpp231 bool CvRTrees::train( const CvMat* _train_data, int _tflag, in train() argument
250 CV_CALL(data->set_data( _train_data, _tflag, _responses, _var_idx, in train()
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()
1525 bool CvSVM::train( const CvMat* _train_data, const CvMat* _responses, in train() argument
1547 CV_CALL( cvPrepareTrainData( "CvSVM::train", _train_data, CV_ROW_SAMPLE, in train()
1590 bool CvSVM::train_auto( const CvMat* _train_data, const CvMat* _responses, in train_auto() argument
1619 if(!train( _train_data, _responses, _var_idx, _sample_idx, _params )) in train_auto()
1700 CV_CALL(cvPrepareTrainData( "CvSVM::train_auto", _train_data, CV_ROW_SAMPLE, in train_auto()
Dmlcnn.cpp162 cvTrainCNNClassifier( const CvMat* _train_data, int tflag,
183 _train_data, tflag, _responses, CV_VAR_CATEGORICAL,
396 CvStatModel* _cnn_model, const CvMat* _train_data, int tflag,
416 _train_data, tflag, _responses, CV_VAR_CATEGORICAL,
/external/opencv3/apps/traincascade/
Dold_ml_boost.cpp103 CvBoostTree::train( CvDTreeTrainData* _train_data, in train() argument
108 data = _train_data; in train()
965 CvBoost::CvBoost( const CvMat* _train_data, int _tflag, in CvBoost() argument
977 train( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvBoost()
1021 CvBoost::train( const CvMat* _train_data, int _tflag, in train() argument
1044 data = new CvDTreeTrainData( _train_data, _tflag, _responses, _var_idx, in train()
1056 data->set_data( _train_data, _tflag, _responses, _var_idx, in train()
2101 CvBoost::CvBoost( const Mat& _train_data, int _tflag, in CvBoost() argument
2113 train( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvBoost()
2119 CvBoost::train( const Mat& _train_data, int _tflag, in train() argument
[all …]
Dold_ml_tree.cpp61 CvDTreeTrainData::CvDTreeTrainData( const CvMat* _train_data, int _tflag, in CvDTreeTrainData() argument
73 set_data( _train_data, _tflag, _responses, _var_idx, _sample_idx, in CvDTreeTrainData()
145 void CvDTreeTrainData::set_data( const CvMat* _train_data, int _tflag, in set_data() argument
178 data = new CvDTreeTrainData( _train_data, _tflag, _responses, _var_idx, in set_data()
220 CV_CALL( cvCheckTrainData( _train_data, _tflag, _missing_mask, &var_all, &sample_all )); in set_data()
222 train_data = _train_data; in set_data()
227 ds_step = _train_data->step/CV_ELEM_SIZE(_train_data->type); in set_data()
234 dv_step = _train_data->step/CV_ELEM_SIZE(_train_data->type); in set_data()
402 if( CV_MAT_TYPE(_train_data->type) == CV_32SC1 ) in set_data()
403 idata = _train_data->data.i + vi0*dv_step; in set_data()
[all …]
/external/opencv3/modules/ml/src/
Dgbt.cpp122 CvGBTrees::CvGBTrees( const CvMat* _train_data, int _tflag,
137 train( _train_data, _tflag, _responses, _var_idx, _sample_idx,
170 CvGBTrees::train( const CvMat* _train_data, int _tflag,
186 int n = _train_data->rows;
187 int m = _train_data->cols;
197 data = new CvDTreeTrainData( _train_data, _tflag, new_responses, _var_idx,