Commit 4a39c991 authored by Cédric Traizet's avatar Cédric Traizet

BUG: implement cvfold setter, even if it is not exposed in the ML model...

BUG: implement cvfold setter, even if it is not exposed in the ML model because it is a pure virtual method in openCV
parent 9d6a7426
Pipeline #3377 failed with stages
in 70 minutes and 45 seconds
......@@ -79,6 +79,8 @@ public:
OTB_CV_WRAP_PROPERTY(int, MinSampleCount)
OTB_CV_WRAP_PROPERTY(bool, UseSurrogates)
// warning: CV fold crash in openCV 3
OTB_CV_WRAP_PROPERTY(int, CVFolds)
OTB_CV_WRAP_PROPERTY(bool, Use1SERule)
OTB_CV_WRAP_PROPERTY(bool, TruncatePrunedTree)
OTB_CV_WRAP_PROPERTY(float, RegressionAccuracy)
......
......@@ -145,6 +145,7 @@ OTB_CV_WRAP_IMPL(int, MaxCategories)
OTB_CV_WRAP_IMPL(int, MaxDepth)
OTB_CV_WRAP_IMPL(int, MinSampleCount)
OTB_CV_WRAP_IMPL(bool, UseSurrogates)
OTB_CV_WRAP_IMPL(int, CVFolds)
OTB_CV_WRAP_IMPL(bool, Use1SERule)
OTB_CV_WRAP_IMPL(bool, TruncatePrunedTree)
OTB_CV_WRAP_IMPL(float, RegressionAccuracy)
......
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