Commit 6c297fcf authored by Guillaume Pasero's avatar Guillaume Pasero

BUG: fix absurd maxDepth parameter for DTrees

parent 3fc7ee9a
......@@ -34,7 +34,11 @@ LearningApplicationBase<TInputValue,TOutputValue>
"See complete documentation here \\url{}.");
AddParameter(ParameterType_Int, "classifier.dt.max", "Maximum depth of the tree");
#ifdef OTB_OPENCV_3
SetParameterInt("classifier.dt.max",10, false);
SetParameterInt("classifier.dt.max",65535, false);
"classifier.dt.max", "The training algorithm attempts to split each node while its depth is smaller than the maximum "
"possible depth of the tree. The actual depth may be smaller if the other termination criteria are met, and/or "
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