-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC Add example comparing permutation importance and SHAP #18139
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
Closed
Closed
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
dd7ca9e
wip
lucyleeow f03c518
wip
lucyleeow aef17ce
wip
lucyleeow 6b45ba4
wip
lucyleeow 5cbd962
wip
lucyleeow 4300f6e
first draft
lucyleeow 2734bdf
add dep
lucyleeow 2c79eee
lint
lucyleeow ce78252
add to min dep
lucyleeow 6c2ac89
Merge branch 'master' into doc_shap_fpi
lucyleeow f5e0934
circular import
lucyleeow cb675b0
formatting
lucyleeow adbab69
lint
lucyleeow 98d38ca
lint
lucyleeow 4ab7a92
formatting, some wording changes
lucyleeow c022ac2
fix spelling
lucyleeow c49b290
typo
lucyleeow 95cec6e
tree code
lucyleeow 1715ed4
merge main, update ver
810e3da
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 9b8e728
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 91d475f
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 3cb8185
suggestions
5cd0c47
Merge branch 'doc_shap_fpi' of https://github.com/lucyleeow/scikit-le…
41eee1b
black
2e71c76
use arxiv directive
0fc8457
Merge branch 'main' into doc_shap_fpi
7970080
add shap version
812d7c6
try version
6e11cbf
fix version?
79f57b1
add to doc
1be5700
typo
4f2c91e
Merge branch 'main' into doc_shap_fpi
91bcaf1
update readme
c025cec
typo
e4a5292
Merge branch 'main' into doc_shap_fpi
jjerphan 8358bf3
try doc py 3.9
ae8c8ed
Merge branch 'doc_shap_fpi' of github.com:lucyleeow/scikit-learn into…
c0aff0b
merge main
e08ba45
merge main
0beb714
Merge remote-tracking branch 'origin/main' into pr/lucyleeow/18139
glemaitre bb4a8b7
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 449b814
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 193e3db
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 735df58
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 38fc88d
Update examples/inspection/plot_permutation_importance_SHAP.py
lucyleeow 64b2107
merge main
e9780cb
suggestions
059fa24
fix column name warn
588b56c
update code pd -> array
74e2c2d
suggestions
e1fff73
use new shap api
0b053fb
specific warning
929edc0
to pd
1e65087
formatting
1c10f18
typo
43df53d
typo
8ca5e92
fix warning
278e93b
Merge branch 'main' into doc_shap_fpi
ogrisel 604c2b1
Use mambaforge as possible to avoid re-installing the numpy dependenc…
ogrisel a00bacc
Bump-up dependency on scikit-image to be able to install it from cond…
ogrisel 594a96d
scikit-image 0.15.0 is not supported by Python 3.8
ogrisel cdcf011
Fix plotting functions
ogrisel ca6f9a5
Typo in scikit-image version number
ogrisel 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,5 @@ scikit-image | |
pandas | ||
sphinx-gallery | ||
scikit-learn | ||
shap | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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.
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.
How stable are the APIs of shap that we rely on here? should we pin this dependency?
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.
Small follow-up: do you know if APIs of shap are stable enough, @lucyleeow?
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.
It should be