Searched refs:train_sample_portion (Results 1 – 2 of 2) sorted by relevance
628 float train_sample_portion; in set_train_test_split() local639 train_sample_portion = spl->train_sample_part.portion; in set_train_test_split()640 if ( train_sample_portion > 1) in set_train_test_split()642 train_sample_portion = train_sample_portion <= FLT_EPSILON || in set_train_test_split()643 1 - train_sample_portion <= FLT_EPSILON ? 1 : train_sample_portion; in set_train_test_split()644 train_sample_count = std::max(1, cvFloor( train_sample_portion * sample_count )); in set_train_test_split()
1935 CvTrainTestSplit( float train_sample_portion, bool mix = true);