8000 DOC improve documentation of GradientBoosting.oob_improvement_ by samsaara · Pull Request #15204 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC improve documentation of GradientBoosting.oob_improvement_ #15204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions sklearn/ensemble/gradient_boosting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2011,6 +2011,7 @@ class GradientBoostingClassifier(ClassifierMixin, BaseGradientBoosting):
relative to the previous iteration.
``oob_improvement_[0]`` is the improvement in
loss of the first stage over the ``init`` estimator.
Only available if ``subsample < 1.0``

train_score_ : array, shape (n_estimators,)
The i-th score ``train_score_[i]`` is the deviance (= loss) of the
Expand Down Expand Up @@ -2480,6 +2481,7 @@ class GradientBoostingRegressor(RegressorMixin, BaseGradientBoosting):
relative to the previous iteration.
``oob_improvement_[0]`` is the improvement in
loss of the first stage over the ``init`` estimator.
Only available if ``subsample < 1.0``

train_score_ : array, shape (n_estimators,)
The i-th score ``train_score_[i]`` is the deviance (= loss) of the
Expand Down
0