8000 DOC Replaced the deprecated early_stopping parameter with n_iter_no_c… · lithuak/scikit-learn@f3e29a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit f3e29a4

Browse files
Sriharsha-hatwaramueller
authored andcommitted
DOC Replaced the deprecated early_stopping parameter with n_iter_no_change. (scikit-learn#12133)
1 parent 1dc0205 commit f3e29a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/gradient_boosting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2311,7 +2311,7 @@ class GradientBoostingRegressor(BaseGradientBoosting, RegressorMixin):
23112311
validation_fraction : float, optional, default 0.1
23122312
The proportion of training data to set aside as validation set for
23132313
early stopping. Must be between 0 and 1.
2314-
Only used if early_stopping is True
2314+
Only used if ``n_iter_no_change`` is set to an integer.
23152315
23162316
.. versionadded:: 0.20
23172317

0 commit comments

Comments
 (0)
0