8000 DOC fix the default value of learning_rate in docstring of HistGBC. (… · scikit-learn/scikit-learn@227ebc4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 227ebc4

Browse files
Johann Faouziglemaitre
Johann Faouzi
authored andcommitted
DOC fix the default value of learning_rate in docstring of HistGBC. (#14072)
1 parent 9c732e1 commit 227ebc4

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
@@ -696,7 +696,7 @@ class HistGradientBoostingClassifier(BaseHistGradientBoosting,
696696
generalizes to 'categorical_crossentropy' for multiclass
697697
classification. 'auto' will automatically choose either loss depending
698698
on the nature of the problem.
699-
learning_rate : float, optional (default=1)
699+
learning_rate : float, optional (default=0.1)
700700
The learning rate, also known as *shrinkage*. This is used as a
701701
multiplicative factor for the leaves values. Use ``1`` for no
702702
shrinkage.

0 commit comments

Comments
 (0)
0