interpret icon indicating copy to clipboard operation
interpret copied to clipboard

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

Open brandongreenwell-8451 opened this issue 2 years ago • 2 comments

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 avatar Jul 28 '23 20:07 brandongreenwell-8451

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.

paulbkoch avatar Jul 29 '23 04:07 paulbkoch

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

bgreenwell avatar Jul 29 '23 13:07 bgreenwell