Home
last modified time | relevance | path

Searched refs:sample_idx (Results 1 – 8 of 8) sorted by relevance

/external/opencv/ml/src/
Dml_inner_functions.cpp630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all ) in cvPreprocessOrderedResponses() argument
659 if( r_type == CV_32FC1 && CV_IS_MAT_CONT(responses->type) && !sample_idx ) in cvPreprocessOrderedResponses()
665 if( sample_idx ) in cvPreprocessOrderedResponses()
667 if( !CV_IS_MAT(sample_idx) || CV_MAT_TYPE(sample_idx->type) != CV_32SC1 || in cvPreprocessOrderedResponses()
668 sample_idx->rows != 1 && sample_idx->cols != 1 || !CV_IS_MAT_CONT(sample_idx->type) ) in cvPreprocessOrderedResponses()
670 if( sample_idx->rows + sample_idx->cols - 1 > sample_count ) in cvPreprocessOrderedResponses()
672 map = sample_idx->data.i; in cvPreprocessOrderedResponses()
673 sample_count = sample_idx->rows + sample_idx->cols - 1; in cvPreprocessOrderedResponses()
707 const CvMat* sample_idx, int sample_all, in cvPreprocessCategoricalResponses() argument
749 if( sample_idx ) in cvPreprocessCategoricalResponses()
[all …]
D_ml.h291 const CvMat* sample_idx,
323 const CvMat* sample_idx, int samples_all,
343 const CvMat* sample_idx, int sample_all );
346 const CvMat* sample_idx, int sample_all,
350 const CvMat* var_idx, const CvMat* sample_idx,
Dmlem.cpp78 CvEM::CvEM( const CvMat* samples, const CvMat* sample_idx, in CvEM() argument
85 train(samples, sample_idx, params, labels); in CvEM()
308 CvMat* sample_idx = 0; in train() local
325 0, 0, 0, &sample_idx )); in train()
374 int idx = sample_idx ? sample_idx->data.i[i] : i; in train()
387 if( sample_idx != _sample_idx ) in train()
388 cvReleaseMat( &sample_idx ); in train()
Dmlann_mlp.cpp691 CvMat* sample_idx = 0; in prepare_to_train() local
732 CV_CALL( sample_idx = cvPreprocessIndexArray( _sample_idx, _inputs->rows )); in prepare_to_train()
733 sidx = sample_idx->data.i; in prepare_to_train()
734 count = sample_idx->cols + sample_idx->rows - 1; in prepare_to_train()
807 cvReleaseMat( &sample_idx ); in prepare_to_train()
Dmltree.cpp130 CvMat* sample_idx = 0; in CV_IMPLEMENT_QSORT_EX() local
213 CV_CALL( sample_idx = cvPreprocessIndexArray( _sample_idx, sample_all )); in CV_IMPLEMENT_QSORT_EX()
214 sidx = sample_idx->data.i; in CV_IMPLEMENT_QSORT_EX()
215 sample_count = sample_idx->rows + sample_idx->cols - 1; in CV_IMPLEMENT_QSORT_EX()
540 cvReleaseMat( &sample_idx ); in CV_IMPLEMENT_QSORT_EX()
Dmlsvm.cpp2434 const CvMat* sample_idx,
2649 cross_valid_params, (CvStatModelParams*)&svm_params, comp_idx, sample_idx ));
2679 CV_CALL(svm = cvTrainSVM( train_data, tflag, responses, model_params, comp_idx, sample_idx ));
Dmlcnn.cpp56 const CvMat* CV_DEFAULT(0), const CvMat* sample_idx CV_DEFAULT(0),
/external/opencv/ml/include/
Dml.h596 CvEM( const CvMat* samples, const CvMat* sample_idx=0,
601 virtual bool train( const CvMat* samples, const CvMat* sample_idx=0,
1429 const CvMat* sample_idx CV_DEFAULT(0),