Skip to content

Use sensitivity_max with lime from lime package #1612

@timwirt

Description

@timwirt

I'm trying to use the sensitivity_max function from Captum together with LIME (LimeTabularExplainer.explain_instance) as the explanation function. Since explain_instance only works on individual samples, I tried writing a wrapper to make it compatible — but I keep running into errors.

Has anyone managed to successfully use sensitivity_max with LIME? A minimal working example or any tips on writing a correct wrapper would be greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions