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.shap_values crashes kernel #90

Open
kochbj opened this issue Jul 9, 2022 · 1 comment
Open

explainer.shap_values crashes kernel #90

kochbj opened this issue Jul 9, 2022 · 1 comment

Comments

@kochbj
Copy link

kochbj commented Jul 9, 2022

Hi,

Amazing package! I was wondering if you have any insight into why calling explainer.shap_values consistently crashes my python kernel. I don't think it's a memory issue.

Thanks for your time; really appreciate it.

-Bernie

@crflynn
Copy link
Owner

crflynn commented Jul 10, 2022

Hard to say without having more details.

I took a look at the shap tests here and noticed that when calling shap_values, check_additivity=False is passed. IIRC this was necessary otherwise it would crash, and I wasn't able to figure out why. Try including this argument.

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

No branches or pull requests

2 participants