Skip to content
Closed
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
8 changes: 8 additions & 0 deletions sklearn/ensemble/_forest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,11 @@ class labels (multi-output problem).

.. versionadded:: 1.4

Examples
--------
See an example of using `RandomForestClassifier` with out-of-bag estimates:
:ref:`sphx_glr_auto_examples_ensemble_plot_ensemble_oob.py`

See Also
--------
sklearn.tree.DecisionTreeClassifier : A decision tree classifier.
Expand Down Expand Up @@ -1490,6 +1495,8 @@ class labels (multi-output problem).
RandomForestClassifier(...)
>>> print(clf.predict([[0, 0, 0, 0]]))
[1]


"""

_parameter_constraints: dict = {
Expand Down Expand Up @@ -2813,6 +2820,7 @@ class RandomTreesEmbedding(TransformerMixin, BaseForest):

.. versionadded:: 1.4


See Also
--------
ExtraTreesClassifier : An extra-trees classifier.
Expand Down
Loading