Skip to content

Commit

Permalink
3- correction of the shap explainer and refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
qnater committed Sep 25, 2024
1 parent fa46419 commit 506554a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion imputegap/explainer/explainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def save_assets(file_path="./assets/shap/"):
:return: Two dictionaries: categories and features.
"""
if not os.path.exists(file_path):
file_path = "./imputegap" + file_path[2:]
file_path = "./imputegap" + file_path[1:]

return file_path

Expand Down

0 comments on commit 506554a

Please sign in to comment.