Added ranges for alpha and lambda in docs (#8597)

This commit is contained in:
Esteban Djeordjian
2022-12-15 05:51:04 -03:00
committed by GitHub
parent 0c38ca7f6e
commit 7dc3e95a77

View File

@@ -121,10 +121,12 @@ Parameters for Tree Booster
* ``lambda`` [default=1, alias: ``reg_lambda``]
- L2 regularization term on weights. Increasing this value will make model more conservative.
- range: [0, :math:`\infty`]
* ``alpha`` [default=0, alias: ``reg_alpha``]
- L1 regularization term on weights. Increasing this value will make model more conservative.
- range: [0, :math:`\infty`]
* ``tree_method`` string [default= ``auto``]