Skip to content
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

DOC Add a note to inspection.partial_dependence() about different results when using brute and recursion method #28595

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

lamdang2k
Copy link
Contributor

Reference Issues/PRs

Fixes #27441

What does this implement/fix? Explain your changes.

Add a note for the case of correlated predictors the sklearn.inspection.partial_dependence() function gives different answers for method = "recursion" and method = "brute"

Any other comments?

Copy link

github-actions bot commented Mar 7, 2024

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 16a6cdf. Link to the linter CI: here

@lamdang2k lamdang2k changed the title DOC - Add a note to inspection.partial_dependence() about different results when using brute and recursion method ENH Add a note to inspection.partial_dependence() about different results when using brute and recursion method Mar 7, 2024
@lorentzenchr lorentzenchr changed the title ENH Add a note to inspection.partial_dependence() about different results when using brute and recursion method DOC Add a note to inspection.partial_dependence() about different results when using brute and recursion method Mar 25, 2024
@nihal-rao
Copy link
Contributor

Hi @lamdang2k are you still working on this ? If not, I would like to open a PR linking to this and fixing the failing checks.

@lamdang2k
Copy link
Contributor Author

lamdang2k commented Apr 4, 2024

Hi @lamdang2k are you still working on this ? If not, I would like to open a PR linking to this and fixing the failing check

Go ahead, thanks for taking over this PR

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() computes conditional partial dependence
3 participants