skgrf
skgrf copied to clipboard
explainer.shap_values crashes kernel
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
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.