Replies: 4 comments 1 reply
-
Hey, To which coefficients are you referring to? Generally, the results are the estimated Shapley values for each "player" (meaning depends on the value function). Do you have an example to clarify? |
Beta Was this translation helpful? Give feedback.
-
I was referring to the values calculated for example by the intrinsic_causal_influece routine. It seem to me that the Shapley values are only used internally. If it would be possible to get the values for each Player that's exactly what i was looking for ? |
Beta Was this translation helpful? Give feedback.
-
Ok so the values that you get from the methods are already the "raw" Shapley values, only in a few methods there is a post-processing like averaging. Otherwise, what is probably easier to interpret and analyze, you can add some print statements (or directly debug (you should then set the n_jobs to 1 then)) to the value function. For instance for ICC in https://github.com/py-why/dowhy/blob/main/dowhy/gcm/influence.py#L408 Just to avoid another confusion, these are not the 'classical feature relevance' Shapley values. Here, we only use the concept of having a fair attribution by symmetrizing over the coalitions, but the underlying value/characteristic/set function is special. |
Beta Was this translation helpful? Give feedback.
-
Ok got it. In that case, keep in mind that there is a difference between the feature relevance of a prediction model and the "intrinsic" influence of the noise terms. Generally, you can represent your target in a graph as a function based on the upstream noise, i.e., |
Beta Was this translation helpful? Give feedback.
-
I really like the approach of using Shapley values to estimate the contribution of individual nodes from the DAG.
However from earlier work with the Shap package i know that in many cases the average over Shapley coefficients provides limited insight into the true dependencies.
I wonder is there a way to get access to the individual Shapley coefficients the gcm package calculates ?
I had a quick look at the code however didn't see an easy way to extract them ?
many thanks in advance for your help, Bernd
Beta Was this translation helpful? Give feedback.
All reactions