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

Explainer API for Local Classifier per parent node #minor #106

Merged
merged 68 commits into from
Mar 27, 2024

Conversation

ashishpatel16
Copy link
Collaborator

Hi @mirand863, this PR aims to present the first iteration of the LCPPN explainer class that enables the calculation of Shapley values for explaining predictions.

@ashishpatel16
Copy link
Collaborator Author

Hi @mirand863, this PR addresses following changes -

  • Test coverage is now high (~97%). Added additional tests to cover helper functions as well.
  • Colab notebook for playing around with the LCPPN explainer code.
  • This PR only contains code, tests and docs for LCPPN.

@ashishpatel16 ashishpatel16 marked this pull request as ready for review March 25, 2024 12:58
hiclass/LocalClassifierPerParentNode.py Outdated Show resolved Hide resolved
hiclass/LocalClassifierPerParentNode.py Outdated Show resolved Hide resolved
Pipfile Outdated Show resolved Hide resolved
hiclass/Explainer.py Outdated Show resolved Hide resolved
@ashishpatel16 ashishpatel16 marked this pull request as draft March 25, 2024 15:40
@ashishpatel16 ashishpatel16 marked this pull request as ready for review March 25, 2024 17:46
README.md Outdated Show resolved Hide resolved
docs/examples/plot_lcppn_explainer.py Outdated Show resolved Hide resolved
docs/requirements.txt Outdated Show resolved Hide resolved
hiclass/Explainer.py Outdated Show resolved Hide resolved
hiclass/Explainer.py Outdated Show resolved Hide resolved
docs/source/get_started/install.rst Outdated Show resolved Hide resolved
hiclass/Explainer.py Outdated Show resolved Hide resolved
@ashishpatel16 ashishpatel16 self-assigned this Mar 26, 2024
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
@mirand863 mirand863 merged commit c436275 into scikit-learn-contrib:main Mar 27, 2024
3 checks passed
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.

4 participants