Fix document about colsample_by* parameter (#4340)

Correct the calculation mistake in colsample_by* example.
This commit is contained in:
Yang Yang 2019-04-08 14:10:04 -04:00 committed by Philip Hyunsu Cho
parent 60a9af567c
commit c7bc739ed2

View File

@ -96,7 +96,7 @@ Parameters for Tree Booster
subsampled from the set of columns chosen for the current level. subsampled from the set of columns chosen for the current level.
- ``colsample_by*`` parameters work cumulatively. For instance, - ``colsample_by*`` parameters work cumulatively. For instance,
the combination ``{'colsample_bytree':0.5, 'colsample_bylevel':0.5, the combination ``{'colsample_bytree':0.5, 'colsample_bylevel':0.5,
'colsample_bynode':0.5}`` with 64 features will leave 4 features to choose from at 'colsample_bynode':0.5}`` with 64 features will leave 8 features to choose from at
each split. each split.
* ``lambda`` [default=1, alias: ``reg_lambda``] * ``lambda`` [default=1, alias: ``reg_lambda``]