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

Compute partial dependencies from learned trees #4578

Closed
ChristophAymannsQC opened this issue Aug 31, 2021 · 3 comments
Closed

Compute partial dependencies from learned trees #4578

ChristophAymannsQC opened this issue Aug 31, 2021 · 3 comments

Comments

@ChristophAymannsQC
Copy link
Contributor

ChristophAymannsQC commented Aug 31, 2021

Summary

Partial dependencies can be computed directly from the data distribution in the leaves of the trees in the booster, rather than by calling predict, see references below. This tends to be faster. It would be nice if LightGBM allowed for direct computation of the partial dependencies using this method.

Motivation

Partial dependency plots are widely used to interpret a model. Providing a fast method for computing them would be a big asset.

References

  • A good overview of the method can be found here: http://nicolas-hug.com/blog/pdps.
  • The original idea goes back to Friedman, Jerome H. 'Greedy function approximation: a gradient boosting machine.' Annals of statistics (2001): 1189-1232.
@StrikerRUS
Copy link
Collaborator

Closed in favor of being in #2302. We decided to keep all feature requests in one place.

Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.

@github-actions

This comment was marked as off-topic.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2023
@jameslamb
Copy link
Collaborator

Sorry, this was locked accidentally. Just unlocked it. We'd still love help with this feature!

@microsoft microsoft unlocked this conversation Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants