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

Explicit support for Regression, performed major refactoring of tests, removed unused code and updated notebooks to work (again). #248

Merged
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
dc327f9
simplify mkdocs config
Mar 7, 2024
0935989
update to version 2.1.2
Mar 7, 2024
6c1755f
update precommit
Mar 7, 2024
1a4cecf
remove functionality which is done better in other libraries (Skoreca…
Mar 14, 2024
35a9401
update version & nb
Mar 14, 2024
2ae1b7f
update ruff config
Mar 14, 2024
e785c6a
downgrade ruff
Mar 14, 2024
fa4d975
downgrade ruff p2
Mar 14, 2024
7770889
revert back downgrade - its an image issue
Mar 14, 2024
71c4925
add no-cache option and update readme
Mar 14, 2024
0f474f0
add no-cache option to other as well
Mar 14, 2024
d779c61
remove shap inspector
Mar 15, 2024
54ae4ba
update documentation
Mar 17, 2024
ea72e62
remove image
Mar 17, 2024
b688a60
allow for python version 3.12 and fix the bug for upgrading to shap 0…
Mar 17, 2024
0a79441
Merge branch 'main' into add_compatibility_p312
Mar 17, 2024
3b930fc
Update pre-commit
Mar 17, 2024
92ee361
remove import
Mar 17, 2024
a37a8d8
fix dependency of shap
Mar 17, 2024
1b453b8
fix file
Mar 17, 2024
ce185be
fix for python v 3.8
Mar 17, 2024
aec0e80
removal of leftover references
Mar 17, 2024
90f2794
add explicit state setting
Mar 18, 2024
75d3fd3
another random state found to be added
Mar 18, 2024
4271cf7
Merge branch 'add_compatibility_p312' into set_random_state_explicit
Mar 18, 2024
1286eed
fix tests
Mar 18, 2024
6b71074
fix tests to more consistent standard.
Mar 18, 2024
7d9d466
Merge branch 'main' into set_random_state_explicit
Mar 18, 2024
22e17c2
major test refactor
Mar 19, 2024
1371d5d
Merge remote-tracking branch 'origin/set_random_state_explicit' into …
Mar 19, 2024
fb3a33e
fix many things
Mar 20, 2024
cdc6b88
update readme
Mar 20, 2024
108db45
update cronjob
Mar 20, 2024
351e4f9
update copyright
Mar 20, 2024
cb1b3ef
change version from 3.0.1 to 3.1.0 since the changes are a bit more t…
Mar 20, 2024
b6bf310
change cronjob
Mar 20, 2024
0be6f3f
fix nb run flag
Mar 20, 2024
4a0c9b3
remove debug file
Mar 20, 2024
fe97bf2
Merge branch 'main' into fixes_and_add_explicit_multi_and_regression
Mar 26, 2024
c1285c3
Add explicit state setting (#242)
Mar 28, 2024
77f303f
Update catboost requirement (#254)
dependabot[bot] Mar 28, 2024
bccc06e
rebase master
Mar 28, 2024
18db9d9
update version & nb
Mar 14, 2024
1e9988e
rebase
Mar 28, 2024
b576151
fix tests to more consistent standard.
Mar 18, 2024
0f2b816
major test refactor
Mar 19, 2024
036afa2
fix many thigns
Mar 28, 2024
3ad20b9
update readme
Mar 20, 2024
085c316
update cronjob
Mar 20, 2024
42577ac
update copyright
Mar 20, 2024
5475447
change version from 3.0.1 to 3.1.0 since the changes are a bit more t…
Mar 20, 2024
38edbc7
change cronjob
Mar 20, 2024
ecf4647
fix nb run flag
Mar 20, 2024
cdda30c
remove debug file
Mar 20, 2024
6d2c39a
rebase master
Mar 28, 2024
37808de
Merge branch 'fixes_and_add_explicit_multi_and_regression' of https:/…
Mar 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix for python v 3.8
  • Loading branch information
Reinier Koops committed Mar 17, 2024
commit ce185be9e60cb85fc2461f88bd47d0e18859ab3e
2 changes: 1 addition & 1 deletion probatus/utils/shap_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def shap_calc(

# From SHAP version 0.43+ https://github.com/shap/shap/pull/3121 required to
# get the second dimension of calculated Shap values.
if len(shap_values.shape) == 3:
if not isinstance(shap_values, list) and len(shap_values.shape) == 3:
shap_values = shap_values[:, :, 1]
else:
# Calculate Shap values
Expand Down