For this issue we will add a LIME algorithm option for local feature contributions
This involves the following steps:
- Add the
lime package to the poetry project (poetry add lime)
- 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)
- Add lime to the possible
e_algorithm list in local_feature_contribution.LocalFeatureContribution
- Write unit tests
- Add the lime explainer to documentation
For this issue we will add a LIME algorithm option for local feature contributions
This involves the following steps:
limepackage to the poetry project (poetry add lime)lime_feature_contribution.pytoexplainers/lfc. Follow the documentation for lime and the example ofshap_feature_contribution.pyto write theproduce_explanation(x_orig)(andfit()if needed)e_algorithmlist inlocal_feature_contribution.LocalFeatureContribution