Skip to content

Add feature_groups argument to vi_permute() #167

Description

@bgreenwell

Grouped/groupwise permutation importance: permute all features in a group jointly and report one score per group. This was the most-requested feature in the tracker's history (#62, #117 — closed as not-planned, but I said I'd take a PR, and it's small enough to just do).

Sketch: feature_groups = named list of character vectors; each group becomes one "feature" in the permutation loop (permute the group's columns with a common row shuffle); Variable column takes the group names. DALEX::model_parts(variable_groups = ...) is prior art.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions