8000 DOC: Added dropdowns to 4.1 PDPs by MikiPWata · Pull Request #27187 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC: Added dropdowns to 4.1 PDPs #27187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
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
6 changes: 6 additions & 0 deletions doc/modules/partial_dependence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ parameter takes a list of indices, names of the categorical features or a boolea
mask. The graphical representation of partial dependence for categorical features is
a bar plot or a 2D heatmap.

|details-start|
**PDPs for multi-class classification**
|details-split|

For multi-class classification, you need to set the class label for which
the PDPs should be created via the ``target`` argument::

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

|details-end|

If you need the raw values of the partial dependence function rather than
the plots, you can use the
:func:`sklearn.inspection.partial_dependence` function::
Expand Down
0