cvFolds property

int get cvFolds

The number of cross-validation folds used to prune the tree. OpenCV 4.x does not implement the pruning: values > 1 throw and 1 is stored as 0 (no pruning).

Implementation

int get cvFolds => cml.cv_ml_DTrees_get_cvFolds(ref);
set cvFolds (int value)

Implementation

set cvFolds(int value) => cvRun(() => cml.cv_ml_DTrees_set_cvFolds(ref, value));