Home
last modified time | relevance | path

Searched refs:train_sample_portion (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/apps/traincascade/
Dold_ml_data.cpp628 float train_sample_portion; in set_train_test_split() local
639 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()
Dold_ml.hpp1935 CvTrainTestSplit( float train_sample_portion, bool mix = true);