Skip to content

Commit 74abf11

Browse files
Johann Faouzijnothman
authored andcommitted
DOC fix the default value of learning_rate in docstring of HistGBC. (scikit-learn#14072)
1 parent d26b08b commit 74abf11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/_hist_gradient_boosting/gradient_boosting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ class HistGradientBoostingClassifier(BaseHistGradientBoosting,
678678
generalizes to 'categorical_crossentropy' for multiclass
679679
classification. 'auto' will automatically choose either loss depending
680680
on the nature of the problem.
681-
learning_rate : float, optional (default=1)
681+
learning_rate : float, optional (default=0.1)
682682
The learning rate, also known as *shrinkage*. This is used as a
683683
multiplicative factor for the leaves values. Use ``1`` for no
684684
shrinkage.

0 commit comments

Comments
 (0)