setTrainTestSplit 214 modules/ml/include/opencv2/ml.hpp CV_WRAP virtual void setTrainTestSplit(int count, bool shuffle=true) = 0; setTrainTestSplit 747 modules/ml/src/data.cpp setTrainTestSplit(cvRound(getNSamples()*ratio), shuffle); setTrainTestSplit 304 modules/ml/test/test_mltests2.cpp data->setTrainTestSplit(trainSampleCount); setTrainTestSplit 62 modules/ml/test/test_save_load.cpp data->setTrainTestSplit(data->getNTrainSamples(), true);