Fix document for tree methods. (#6633)

This commit is contained in:
Jiaming Yuan
2021-01-25 15:52:08 +08:00
committed by GitHub
parent fec66d033a
commit 561809200a
2 changed files with 3 additions and 4 deletions

View File

@@ -195,7 +195,7 @@ Parameters for Tree Booster
* ``grow_policy`` [default= ``depthwise``]
- Controls a way new nodes are added to the tree.
- Currently supported only if ``tree_method`` is set to ``hist``.
- Currently supported only if ``tree_method`` is set to ``hist`` or ``gpu_hist``.
- Choices: ``depthwise``, ``lossguide``
- ``depthwise``: split at nodes closest to the root.
@@ -207,7 +207,7 @@ Parameters for Tree Booster
* ``max_bin``, [default=256]
- Only used if ``tree_method`` is set to ``hist``.
- Only used if ``tree_method`` is set to ``hist`` or ``gpu_hist``.
- Maximum number of discrete bins to bucket continuous features.
- Increasing this number improves the optimality of splits at the cost of higher computation time.