8000 DOC: Added dropdowns to 4.1 PDPs (#27187) · scikit-learn/scikit-learn@d69d31b · GitHub
[go: up one dir, main page]

Skip to content

Commit d69d31b

Browse files
MikiPWataglemaitre
authored andcommitted
DOC: Added dropdowns to 4.1 PDPs (#27187)
1 parent 870606e commit d69d31b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/modules/partial_dependence.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ parameter takes a list of indices, names of the categorical features or a boolea
7979
mask. The graphical representation of partial dependence for categorical features is
8080
a bar plot or a 2D heatmap.
8181

82+
|details-start|
83+
**PDPs for multi-class classification**
84+
|details-split|
85+
8286
For multi-class classification, you need to set the class label for which
8387
the PDPs should be created via the ``target`` argument::
8488

@@ -93,6 +97,8 @@ the PDPs should be created via the ``target`` argument::
9397
The same parameter ``target`` is used to specify the target in multi-output
9498
regression settings.
9599

100+
|details-end|
101+
96102
If you need the raw values of the partial dependence function rather than
97103
the plots, you can use the
98104
:func:`sklearn.inspection.partial_dependence` function::

0 commit comments

Comments
 (0)
0