-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add filter functions for explanations and shap_values #120
Open
iwan-tee
wants to merge
31
commits into
scikit-learn-contrib:main
Choose a base branch
from
iwan-tee:shap_filter
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
5af9efb
basic implementation of filter_by_level function
iwan-tee 5e52e86
basic implementation of filter_by_class function
iwan-tee 5a8e9be
basic implementation of combine_filters function
iwan-tee cceb6d1
codestyling
iwan-tee ab1e3ab
helper function get_class_level added
iwan-tee 719dd83
another helper functions added
iwan-tee 343be04
some bugs fixed
iwan-tee af32acb
small plot_lcpl_explainer actualisation
iwan-tee 3645e38
some small changes in plot_lcpl_explainer
iwan-tee d1cf3e0
another changes in plot_lcpl_explainer
iwan-tee 7e6bcb3
functionality duplication removes + docstrings added (partially)
iwan-tee 31e88b2
some actualization in plot_lcpl_explainer
iwan-tee 849b30f
some refactoring
iwan-tee 9877374
some refactoring
iwan-tee 38a9060
some cases handled + tests written
iwan-tee 159bd17
small changes
iwan-tee 5faf54b
pydocstyle
iwan-tee c9e6aa2
documentation fixed
iwan-tee 3d2bf3b
Algorithm overviem completed
iwan-tee a2e7700
plot_lcppn_explainer actualized
iwan-tee 3b8239f
shap_multi_plot added
iwan-tee c06e5e6
part of the code substituted with newer methods
iwan-tee 63c635f
pydocstyling
iwan-tee 6953517
some cases handled and new tests added
iwan-tee e3a54ee
matplotlib requirement added
iwan-tee 73f74f6
algorithm explaining updated
iwan-tee 4ab46ad
small changes in indices selection
iwan-tee e431803
some skipiff added
iwan-tee bf64bfe
ray support added and used as a default (instead of joblib)
iwan-tee 1047a2c
pydocs
iwan-tee c1dd746
pydocs
iwan-tee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alternatively, I guess you can probably call the method
get_sample_indices
inside this other methodfilter_by_class
, simplifying it for the userThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
settled in this option for now