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

Support residual by level or bin of feature? #40

Open
jphall663 opened this issue May 31, 2023 · 1 comment
Open

Support residual by level or bin of feature? #40

jphall663 opened this issue May 31, 2023 · 1 comment

Comments

@jphall663
Copy link

jphall663 commented May 31, 2023

Would be a nice enhancement to support residual plots and analysis by feature and by level or bin of feature. This just allows for spotting of specific bugs, like in the image below.

mlha_0807

Prototype code here: https://nbviewer.org/github/jphall663/interpretable_machine_learning_with_python/blob/master/debugging_resid_analysis_redux.ipynb, cell 18.

For categorical features, residuals can be plotted across top-k levels, for numeric features they will have to binned before plotting.

@ZebinYang
Copy link
Collaborator

Thank you for this valuable suggestion.

Currently, the residual plot is based on full samples. We will consider adding the option to visualize only a subset of samples to be customized by users.

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

No branches or pull requests

2 participants