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

Extrapolation: confine 2-dimensional plots to convex hull of inputs? #458

Open
brandongreenwell-8451 opened this issue Jul 28, 2023 · 2 comments

Comments

@brandongreenwell-8451
Copy link
Contributor

brandongreenwell-8451 commented Jul 28, 2023

Would it be feasible to confine two-dimensional plots (i.e., for pairwise interactions) from show(ebm.explain_global()) to the boundary of the convex hull between the data points of the two variables in question? I've found this to make it much easier to avoid interpreting such graphs in areas where there is little to no data. Example plot below (see https://doi.org/10.32614/RJ-2017-016 for details and more examples).

image

@brandongreenwell-8451 brandongreenwell-8451 changed the title Extrapolation: restrict 2-dimensional plots to convex hull of inputs Extrapolation: confine 2-dimensional plots to convex hull of inputs? Jul 28, 2023
@paulbkoch
Copy link
Collaborator

Hi @brandongreenwell-8451 -- This would be a very nice feature. I'm mostly focused on lower-level improvements to EBMs at the moment, but a PR that adds this would be welcome if you or someone else is interested in contributing it.

@bgreenwell
Copy link

Thanks @paulbkoch, I’ll see if I can pull something together.

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

No branches or pull requests

3 participants