Commit b1b24ee2 authored by Nikita Titov's avatar Nikita Titov Committed by Guolin Ke
Browse files

fixed typo (#937)

parent 51bceaaa
...@@ -230,7 +230,7 @@ void OverallConfig::CheckParamConflict() { ...@@ -230,7 +230,7 @@ void OverallConfig::CheckParamConflict() {
int full_num_leaves = static_cast<int>(std::pow(2, boosting_config.tree_config.max_depth)); int full_num_leaves = static_cast<int>(std::pow(2, boosting_config.tree_config.max_depth));
if (full_num_leaves > boosting_config.tree_config.num_leaves if (full_num_leaves > boosting_config.tree_config.num_leaves
&& boosting_config.tree_config.num_leaves == kDefaultNumLeaves) { && boosting_config.tree_config.num_leaves == kDefaultNumLeaves) {
Log::Warning("Accuracy may be bad since you didn't set num_leaves and max_depth² > num_leaves."); Log::Warning("Accuracy may be bad since you didn't set num_leaves and 2^max_depth > num_leaves.");
} }
} }
} }
......
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