Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: LIME backend #255

Merged
merged 11 commits into from
Nov 17, 2021
Merged

Feature: LIME backend #255

merged 11 commits into from
Nov 17, 2021

Conversation

blanoe
Copy link
Contributor

@blanoe blanoe commented Oct 26, 2021

New Feature : LIME backend.

This feature adds a new way of computing local contributions and global features importance using LIME package.

See more information about LIME here : https://arxiv.org/abs/1602.04938
LIME repository : https://github.com/marcotcr/lime

What has been done :

Added a backend parameter to the compile method on which we can choose 'lime' to select the lime computations
Adaptation of LIME contributions for integration into shapash (so that the contributions are used in the shapash graphics)
Global contributions like shapash
Unit tests
Computation for regression, classification and multi-class
Computation time problem because of an iteration on the index: The calculation of the contributions is too long, it is necessary to think of a solution to reduce this calculation time

See more information about Gobal Explanation :https://arxiv.org/abs/1907.03039
The idea : Select the most representative individuals to calculate the overall explanation

@blanoe blanoe changed the title Feature/lime backend Feature: LIME backend Oct 26, 2021
ben_requirements.txt Outdated Show resolved Hide resolved
shapash/explainer/smart_explainer.py Outdated Show resolved Hide resolved
shapash/explainer/smart_explainer.py Outdated Show resolved Hide resolved
shapash/utils/lime_backend.py Outdated Show resolved Hide resolved
shapash/utils/lime_backend.py Show resolved Hide resolved
shapash/utils/lime_backend.py Outdated Show resolved Hide resolved
shapash/utils/lime_backend.py Outdated Show resolved Hide resolved
shapash/utils/lime_backend.py Show resolved Hide resolved
shapash/utils/lime_backend.py Outdated Show resolved Hide resolved
shapash/utils/lime_backend.py Outdated Show resolved Hide resolved
blanoe and others added 2 commits November 4, 2021 11:53
shapash/utils/lime_backend.py Show resolved Hide resolved
shapash/utils/lime_backend.py Outdated Show resolved Hide resolved
change description and variable name
@ThomasBouche ThomasBouche merged commit fe1970f into MAIF:master Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants