Skip to content

Add LIME to local feature contributions #497

@zyteka

Description

@zyteka

For this issue we will add a LIME algorithm option for local feature contributions

This involves the following steps:

  1. Add the lime package to the poetry project (poetry add lime)
  2. Add lime_feature_contribution.py to explainers/lfc. Follow the documentation for lime and the example of shap_feature_contribution.py to write the produce_explanation(x_orig) (and fit() if needed)
  3. Add lime to the possible e_algorithm list in local_feature_contribution.LocalFeatureContribution
  4. Write unit tests
  5. Add the lime explainer to documentation

Metadata

Metadata

Assignees

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