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

Skip to content

Commit 0c0a9e8

Browse files
Sriharsha-hatwarjnothman
authored andcommitted
DOC Replaced the deprecated early_stopping parameter with n_iter_no_change. (#12133)
1 parent e81bcd5 commit 0c0a9e8

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