Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions sklearn/ensemble/_bagging.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ class BaggingClassifier(ClassifierMixin, BaseBagging):

oob_score : bool, default=False
Whether to use out-of-bag samples to estimate
the generalization error.
the generalization error. Only available if bootstrap=True.

warm_start : bool, default=False
When set to True, reuse the solution of the previous call to fit
Expand Down Expand Up @@ -897,7 +897,7 @@ class BaggingRegressor(RegressorMixin, BaseBagging):

oob_score : bool, default=False
Whether to use out-of-bag samples to estimate
the generalization error.
the generalization error. Only available if bootstrap=True.

warm_start : bool, default=False
When set to True, reuse the solution of the previous call to fit
Expand Down
4 changes: 4 additions & 0 deletions sklearn/ensemble/_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,7 @@ class RandomForestClassifier(ForestClassifier):

oob_score : bool, default=False
Whether to use out-of-bag samples to estimate the generalization score.
Only available if bootstrap=True.

n_jobs : int, default=None
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
Expand Down Expand Up @@ -1398,6 +1399,7 @@ class RandomForestRegressor(ForestRegressor):

oob_score : bool, default=False
Whether to use out-of-bag samples to estimate the generalization score.
Only available if bootstrap=True.

n_jobs : int, default=None
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
Expand Down Expand Up @@ -1680,6 +1682,7 @@ class ExtraTreesClassifier(ForestClassifier):

oob_score : bool, default=False
Whether to use out-of-bag samples to estimate the generalization score.
Only available if bootstrap=True.

n_jobs : int, default=None
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
Expand Down Expand Up @@ -1999,6 +2002,7 @@ class ExtraTreesRegressor(ForestRegressor):

oob_score : bool, default=False
Whether to use out-of-bag samples to estimate the generalization score.
Only available if bootstrap=True.

n_jobs : int, default=None
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
Expand Down