Searched refs:train_data (Results 1 – 6 of 6) sorted by relevance
/external/opencv/ml/src/ |
D | mlem.cpp | 119 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 …]
|
D | ml_inner_functions.cpp | 839 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.h | 288 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,
|
D | mlnbayes.cpp | 113 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()
|
D | mlsvm.cpp | 2429 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/opencv/ml/include/ |
D | ml.h | 618 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,
|