10000 ENH Add custom_range argument for partial dependence - version 2 by stephenpardy · Pull Request #26202 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

ENH Add custom_range argument for partial dependence - version 2 #26202

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

Conversation

stephenpardy
Copy link
Contributor
@stephenpardy stephenpardy commented Apr 17, 2023

Reference Issues/PRs

Fixes #20890 and is a followup to the stale PR - #21033

Also fixes #30271

What does this implement/fix? Explain your changes.

This PR allows users to specify a custom_range of values to calculate partial depedency for some or all of the features.

The api is custom_range={feature: array-like of grid values}.

Any other comments?

@glemaitre
Copy link
Member

We will not make it for 1.6. I moving the milestone to 1.7

@glemaitre glemaitre modified the milestones: 1.6, 1.7 Nov 6, 2024
Copy link
Member
@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are also failing.

stephenpardy and others added 6 commits November 7, 2024 08:13
…ement.rst

Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
@stephenpardy
Copy link
Contributor Author

Tests are also failing.

Thanks for the suggestions, I haven't had much time to look at this recently. I will also update the version number to specify 1.7.

@stephenpardy
Copy link
Contributor Author

@adrinjalali I think I have addressed all your comments. I have fixed a separate issue here, but can split that out if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

partial_dependence errors when given only two grid points Allow users to pass their own grid to partial dependence
7 participants
0