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

Shapley values for interactions between variables #316

Open
lang-benjamin opened this issue Oct 11, 2022 · 4 comments
Open

Shapley values for interactions between variables #316

lang-benjamin opened this issue Oct 11, 2022 · 4 comments

Comments

@lang-benjamin
Copy link

Will shapley interaction values be supported in the next release?

@martinju
Copy link
Member

Hi! We have not planned to include it. However, technically it should not be very difficult. I will therefore write it down on the lengthy "nice to have" list. Thanks!

@martinju martinju changed the title Shapley values for interactions between variables Shapley values for interactions between variables adsadsad Oct 12, 2022
@martinju martinju changed the title Shapley values for interactions between variables adsadsad Shapley values for interactions between variables Oct 12, 2022
@martinju martinju changed the title Shapley values for interactions between variables Shapley values for interactions between variables adsadsad Oct 12, 2022
@martinju martinju changed the title Shapley values for interactions between variables adsadsad Shapley values for interactions between variables Oct 12, 2022
@lang-benjamin
Copy link
Author

Thank you. This is much appreciated, having the interactions could be very helpful for certain investigations. Another thought: since run-time will be a potential issue, it could make sense to have an option to specify only a certain subset of variables. Also, in some situations one might only be interested in a very specific order of interactions, e.g. between x1 and x2, x1 and x3, x1 and x4 etc. (ie interactions only to a certain reference variable).

@martinju
Copy link
Member

I have little experience with Shapley interaction values, so I guess I have to read up on it, but is what you are suggesting actually possible? We are using the least-squares analog of the Shapley formula (KernelSHAP) for estimating the Shapley values in this package, and there I can't really decide to leave out any of the Shapley values from the computation...?

@lang-benjamin
Copy link
Author

Right, I just had run-time in mind. I agree with you, I don't think it will work to easily restrict it to a subset of variables.

@martinju martinju moved this to Unsure in shapr 1.0.0 Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Unsure
Development

No branches or pull requests

2 participants