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

[dask] support 'pred_contrib' in predict() #3713

Closed
jameslamb opened this issue Jan 3, 2021 · 2 comments
Closed

[dask] support 'pred_contrib' in predict() #3713

jameslamb opened this issue Jan 3, 2021 · 2 comments

Comments

@jameslamb
Copy link
Collaborator

Summary

LightGBM's Booster.predict() can be use to get feature contributions, by passing pred_contrib=True. This should be supported for model objects from the Dask interface as well.

Motivation

This is useful for inspecting the relative importance of features in a LightGBM model.

Description

The check at

should also check whether pred_contrib=True has been passed, and return the full DataFrame of the result.

References

@StrikerRUS
Copy link
Collaborator

Closing in favor of being in #2302 with other feature requests. Please leave a comment here if you'd like to work on this.

@jameslamb
Copy link
Collaborator Author

opening this as I'm actively working on it at the moment

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

2 participants