Skip to content

Commit 1588ec9

Browse files
DOC: Add link to plot_ensemble_oob example (scikit-learn#31457)
1 parent 5509d2f commit 1588ec9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sklearn/ensemble/_forest.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,9 @@ class RandomForestClassifier(ForestClassifier):
12981298
Provide a callable with signature `metric(y_true, y_pred)` to use a
12991299
custom metric. Only available if `bootstrap=True`.
13001300
1301+
For an illustration of out-of-bag (OOB) error estimation, see the example
1302+
:ref:`sphx_glr_auto_examples_ensemble_plot_ensemble_oob.py`.
1303+
13011304
n_jobs : int, default=None
13021305
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
13031306
:meth:`decision_path` and :meth:`apply` are all parallelized over the
@@ -1709,6 +1712,9 @@ class RandomForestRegressor(ForestRegressor):
17091712
Provide a callable with signature `metric(y_true, y_pred)` to use a
17101713
custom metric. Only available if `bootstrap=True`.
17111714
1715+
For an illustration of out-of-bag (OOB) error estimation, see the example
1716+
:ref:`sphx_glr_auto_examples_ensemble_plot_ensemble_oob.py`.
1717+
17121718
n_jobs : int, default=None
17131719
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
17141720
:meth:`decision_path` and :meth:`apply` are all parallelized over the
@@ -2054,6 +2060,9 @@ class ExtraTreesClassifier(ForestClassifier):
20542060
Provide a callable with signature `metric(y_true, y_pred)` to use a
20552061
custom metric. Only available if `bootstrap=True`.
20562062
2063+
For an illustration of out-of-bag (OOB) error estimation, see the example
2064+
:ref:`sphx_glr_auto_examples_ensemble_plot_ensemble_oob.py`.
2065+
20572066
n_jobs : int, default=None
20582067
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
20592068
:meth:`decision_path` and :meth:`apply` are all parallelized over the
@@ -2449,6 +2458,9 @@ class ExtraTreesRegressor(ForestRegressor):
24492458
Provide a callable with signature `metric(y_true, y_pred)` to use a
24502459
custom metric. Only available if `bootstrap=True`.
24512460
2461+
For an illustration of out-of-bag (OOB) error estimation, see the example
2462+
:ref:`sphx_glr_auto_examples_ensemble_plot_ensemble_oob.py`.
2463+
24522464
n_jobs : int, default=None
24532465
The number of jobs to run in parallel. :meth:`fit`, :meth:`predict`,
24542466
:meth:`decision_path` and :meth:`apply` are all parallelized over the

0 commit comments

Comments
 (0)