fix doc about max_depth (#4078)

* fix doc

* Update doc/parameter.rst

Co-Authored-By: CodingCat <CodingCat@users.noreply.github.com>
This commit is contained in:
Nan Zhu 2019-01-30 12:53:44 -08:00 committed by Philip Hyunsu Cho
parent a1c35cadf0
commit e0094d996e

View File

@ -64,8 +64,8 @@ Parameters for Tree Booster
* ``max_depth`` [default=6] * ``max_depth`` [default=6]
- Maximum depth of a tree. Increasing this value will make the model more complex and more likely to overfit. 0 indicates no limit. Note that limit is required when ``grow_policy`` is set of ``depthwise``. - Maximum depth of a tree. Increasing this value will make the model more complex and more likely to overfit. 0 is only accepted in ``lossguided`` growing policy when tree_method is set as ``hist`` and it indicates no limit on depth. Beware that XGBoost aggressively consumes memory when training a deep tree.
- range: [0,∞] - range: [0,∞] (0 is only accepted in ``lossguided`` growing policy when tree_method is set as ``hist``)
* ``min_child_weight`` [default=1] * ``min_child_weight`` [default=1]