Table of Contents

Method SetTrainTestSplitRatio

Namespace
OpenCvSharp.ML
Assembly
OpenCvSharp.dll

SetTrainTestSplitRatio(double, bool)

Splits the training data into the training and test parts

public void SetTrainTestSplitRatio(double ratio, bool shuffle = true)

Parameters

ratio double
shuffle bool