8000 DOC show from_estimator and from_predictions for Displays (#25994) · scikit-learn/scikit-learn@84d4e5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 84d4e5d

Browse files
authored
DOC show from_estimator and from_predictions for Displays (#25994)
1 parent bb72ec0 commit 84d4e5d

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

doc/modules/classes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ Plotting
659659

660660
.. autosummary::
661661
:toctree: generated/
662-
:template: class.rst
662+
:template: display_only_from_estimator.rst
663663

664664
inspection.DecisionBoundaryDisplay
665665
inspection.PartialDependenceDisplay
@@ -1122,7 +1122,7 @@ See the :ref:`visualizations` section of the user guide for further details.
11221122

11231123
.. autosummary::
11241124
:toctree: generated/
1125-
:template: class.rst
1125+
:template: display.rst
11261126

11271127
metrics.ConfusionMatrixDisplay
11281128
metrics.DetCurveDisplay
@@ -1242,7 +1242,7 @@ Visualization
12421242

12431243
.. autosummary::
12441244
:toctree: generated/
1245-
:template: class.rst
1245+
:template: display_only_from_estimator.rst
12461246

12471247
model_selection.LearningCurveDisplay
12481248

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:mod:`{{module}}`.{{objname}}
2+
{{ underline }}==============
3+
4+
.. currentmodule:: {{ module }}
5+
6+
.. autoclass:: {{ objname }}
7+
8+
.. include:: {{module}}.{{objname}}.examples
9+
.. include:: {{module}}.{{objname}}.from_estimator.examples
10+
.. include:: {{module}}.{{objname}}.from_predictions.examples
11+
12+
.. raw:: html
13+
14+
<div class="clearer"></div>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
:mod:`{{module}}`.{{objname}}
2+
{{ underline }}==============
3+
4+
.. currentmodule:: {{ module }}
5+
6+
.. autoclass:: {{ objname }}
7+
8+
.. include:: {{module}}.{{objname}}.examples
9+
.. include:: {{module}}.{{objname}}.from_estimator.examples
10+
11+
.. raw:: html
12+
13+
<div class="clearer"></div>

0 commit comments

Comments
 (0)
0