Commit fa505496 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: CVfold should be set to 0, even if it is not implemented in openCV 3 and 4

parent 4a39c991
Pipeline #3379 passed with stages
in 121 minutes and 14 seconds
......@@ -66,6 +66,8 @@ void DecisionTreeMachineLearningModel<TInputValue, TOutputValue>::Train()
m_DTreeModel->setMinSampleCount(m_MinSampleCount);
m_DTreeModel->setRegressionAccuracy(m_RegressionAccuracy);
m_DTreeModel->setUseSurrogates(m_UseSurrogates);
// CvFold is not exposed because it crashes in OpenCV 3 and 4
m_DTreeModel->setCVFolds(0);
m_DTreeModel->setMaxCategories(m_MaxCategories);
m_DTreeModel->setUse1SERule(m_Use1seRule);
m_DTreeModel->setTruncatePrunedTree(m_TruncatePrunedTree);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment