Home
last modified time | relevance | path

Searched refs:test_sample_count (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/apps/traincascade/
Dold_ml_data.cpp658 int test_sample_count = sample_count- train_sample_count; in set_train_test_split() local
665 CV_Assert(test_sample_count > 0); in set_train_test_split()
666 test_sample_idx = cvCreateMatHeader( 1, test_sample_count, CV_32SC1 ); in set_train_test_split()
667 *test_sample_idx = cvMat( 1, test_sample_count, CV_32SC1, &sample_idx[train_sample_count] ); in set_train_test_split()
/external/opencv3/modules/ml/src/
Dgbt.cpp337 int test_sample_count = samples_count - train_sample_count;
341 if (test_sample_count)
343 subsample_test = cvCreateMatHeader( 1, test_sample_count, CV_32SC1 );
344 *subsample_test = cvMat( 1, test_sample_count, CV_32SC1,
Dsvm.cpp1751 int test_sample_count = (sample_count + k_fold/2)/k_fold; in trainAuto() local
1752 int train_sample_count = sample_count - test_sample_count; in trainAuto()
1760 Mat temp_test_samples(test_sample_count, var_count, CV_32F); in trainAuto()
1803 for( i = 0; i < test_sample_count; i++ ) in trainAuto()