Home
last modified time | relevance | path

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

/external/opencv/ml/src/
Dmlem.cpp119 void CvEM::set_params( const CvEMParams& _params, const CvVectors& train_data ) in set_params() argument
160 p->rows != train_data.count || in set_params()
173 m->cols != train_data.dims ) in set_params()
197 cov->rows != cov->cols || cov->cols != train_data.dims ) in set_params()
307 CvVectors train_data; in train() local
310 train_data.data.fl = 0; in train()
311 train_data.count = 0; in train()
323 0, _sample_idx, false, (const float***)&train_data.data.fl, in train()
324 &train_data.count, &train_data.dims, &train_data.dims, in train()
327 CV_CALL( set_params( _params, train_data )); in train()
[all …]
Dml_inner_functions.cpp839 cvGetTrainSamples( const CvMat* train_data, int tflag, in cvGetTrainSamples() argument
855 if( !CV_IS_MAT(train_data) ) in cvGetTrainSamples()
859 tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvGetTrainSamples()
861 tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; in cvGetTrainSamples()
873 data = train_data->data.fl; in cvGetTrainSamples()
874 s_step = train_data->step / sizeof(samples[0][0]); in cvGetTrainSamples()
911 cvCheckTrainData( const CvMat* train_data, int tflag, in cvCheckTrainData() argument
926 if( !CV_IS_MAT(train_data) || CV_MAT_TYPE(train_data->type) != CV_32FC1 ) in cvCheckTrainData()
932 !CV_ARE_SIZES_EQ(train_data, missing_mask) ) in cvCheckTrainData()
942 *var_all = tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvCheckTrainData()
[all …]
D_ml.h288 const CvMat* train_data, int tflag,
333 void cvCheckTrainData( const CvMat* train_data, int tflag,
349 const float** cvGetTrainSamples( const CvMat* train_data, int tflag,
Dmlnbayes.cpp113 const float** train_data = 0; in train() local
128 _var_idx, _sample_idx, false, &train_data, in train()
202 const float* train_vec = train_data[s]; in train()
275 cvFree( &train_data ); in train()
Dmlsvm.cpp2429 cvTrainSVM_CrossValidation( const CvMat* train_data, int tflag,
2648 CV_CALL(rate = cvCrossValidation( train_data, tflag, responses, &cvTrainSVM,
2679 CV_CALL(svm = cvTrainSVM( train_data, tflag, responses, model_params, comp_idx, sample_idx ));
/external/opencv3/apps/traincascade/
Dold_ml_inner_functions.cpp769 cvGetTrainSamples( const CvMat* train_data, int tflag, in cvGetTrainSamples() argument
785 if( !CV_IS_MAT(train_data) ) in cvGetTrainSamples()
789 tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvGetTrainSamples()
791 tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; in cvGetTrainSamples()
803 data = train_data->data.fl; in cvGetTrainSamples()
804 s_step = train_data->step / sizeof(samples[0][0]); in cvGetTrainSamples()
841 cvCheckTrainData( const CvMat* train_data, int tflag, in cvCheckTrainData() argument
856 if( !CV_IS_MAT(train_data) || CV_MAT_TYPE(train_data->type) != CV_32FC1 ) in cvCheckTrainData()
862 !CV_ARE_SIZES_EQ(train_data, missing_mask) ) in cvCheckTrainData()
872 *var_all = tflag == CV_ROW_SAMPLE ? train_data->cols : train_data->rows; in cvCheckTrainData()
[all …]
Dold_ml_precomp.hpp284 const CvMat* train_data, int tflag,
329 void cvCheckTrainData( const CvMat* train_data, int tflag,
345 const float** cvGetTrainSamples( const CvMat* train_data, int tflag,
Dold_ml_tree.cpp222 train_data = _train_data; in set_data()
1189 int td_step = train_data->step/CV_ELEM_SIZE(train_data->type); in get_ord_var_data()
1211 ord_values_buf[i] = *(train_data->data.fl + idx * td_step + vidx); in get_ord_var_data()
1220 ord_values_buf[i] = *(train_data->data.fl + vidx* td_step + idx); in get_ord_var_data()
Dold_ml.hpp714 const CvMat* train_data; member
/external/opencv3/doc/py_tutorials/py_ml/py_knn/py_knn_opencv/
Dpy_knn_opencv.markdown15 train_data and test_data. OpenCV comes with an image digits.png (in the folder
20 train_data, and next 250 samples as test_data. So let's prepare them first.
35 # Now we prepare train_data and test_data.
/external/opencv3/samples/cpp/
Dtrain_HOG.cpp317 Mat train_data; in train_svm() local
318 convert_to_ml( gradient_lst, train_data ); in train_svm()
332 svm->train(train_data, ROW_SAMPLE, Mat(labels)); in train_svm()
Dletter_recog.cpp382 Mat train_data = data.rowRange(0, ntrain_samples); in build_mlp_classifier() local
408 Ptr<TrainData> tdata = TrainData::create(train_data, ROW_SAMPLE, train_responses); in build_mlp_classifier()
/external/opencv/ml/include/
Dml.h618 const CvVectors& train_data );
619 virtual void init_em( const CvVectors& train_data );
620 virtual double run_em( const CvVectors& train_data );
622 virtual void kmeans( const CvVectors& train_data, int nclusters,
1425 const CvMat* train_data, int tflag,
/external/opencv3/modules/ml/src/
Dgbt.cpp373 cvGetRow( data->train_data, &x, idx);
375 cvGetCol( data->train_data, &x, idx);
541 cvGetRow( data->train_data, &x, idx);
543 cvGetCol( data->train_data, &x, idx);