shap icon indicating copy to clipboard operation
shap copied to clipboard

shap_interaction_values for KernelExplainer

Open Pablomoreiragarcia opened this issue 2 years ago • 2 comments

Hi, I'm explaining models loaded on python from weka and I was trying to use the summary_plot with the shap_interaction_values, but when i try to do it: shap_interaction_values = explainer.shap_interaction_values(X.iloc[:,:])

I receive this error: AttributeError: 'Kernel' object has no attribute 'shap_interaction_values'

Are there plans to include this feature in the SHAP library? Or is there any form to calculate it by myself?

Pablomoreiragarcia avatar Jun 06 '22 10:06 Pablomoreiragarcia

I'm having the same problem.

raqueldias avatar Jun 16 '22 20:06 raqueldias

I have run into the same problem. Is there a plan to add the interaction functionality to explainers other than the TreeExplainer, or is there a way that we can obtain interaction values for SVMs or neural networks?

cae67 avatar Aug 26 '22 18:08 cae67