Skip to content

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

Open

Description

@brandongreenwell-8451

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

Activity

  1. changed the title [-]Extrapolation: restrict 2-dimensional plots to convex hull of inputs[/-] [+]Extrapolation: confine 2-dimensional plots to convex hull of inputs?[/+] on Jul 28, 2023
  2. paulbkoch commented on Jul 29, 2023

    @paulbkoch
    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.

  3. bgreenwell commented on Jul 29, 2023

    @bgreenwell

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions