Lines Matching refs:train_data
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()
945 *sample_all = tflag == CV_ROW_SAMPLE ? train_data->rows : train_data->cols; in cvCheckTrainData()
953 const CvMat* train_data, int tflag, in cvPrepareTrainData() argument
1006 CV_CALL( cvCheckTrainData( train_data, tflag, 0, &var_all, &sample_all )); in cvPrepareTrainData()
1031 cvGetTrainSamples( train_data, tflag, _var_idx, _sample_idx, in cvPrepareTrainData()