nredell / shapFlex

An R package for computing asymmetric Shapley values to assess causality in any trained machine learning model
Other
71 stars 7 forks source link

Shap Interaction #14

Open lolloloschi97 opened 2 years ago

lolloloschi97 commented 2 years ago

Hi, I've tried to extract the pairwise shap interaction returned by the shap.scatter plot. I've noticed that shap_interaction(X_i, X_j) != shap_interaction(X_j, X_i), Thus if we immagine a MxM interaction matrix, it's not symmetric. Is It normal o r I've done something wrong? And if it's ok, why is that? Thanks in Advance, Lorenzo