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

Add access for explainability (TimeSHAP) #161

Open
edpclau opened this issue Jul 18, 2023 · 3 comments
Open

Add access for explainability (TimeSHAP) #161

edpclau opened this issue Jul 18, 2023 · 3 comments
Labels
enhancement New feature or request new feature Proposing to add a new feature

Comments

@edpclau
Copy link

edpclau commented Jul 18, 2023

1. Feature description

Changes to the classify() and forward() methods to make the models compatible with TimeSHAP and other XAI methods.

2. Motivation

I would like to be able to understand which timesteps and features were most relevant for a particular prediction.

3. Your contribution

I don't know enough about how the models are structured to feel confident in changing the api.

@edpclau edpclau added enhancement New feature or request new feature Proposing to add a new feature labels Jul 18, 2023
@WenjieDu
Copy link
Owner

Hi there 👋,

Thank you so much for your attention to PyPOTS! If you find PyPOTS helpful to your work, please star⭐️ this repository. Your star is your recognition, which can help more people notice PyPOTS and grow PyPOTS community. It matters and is definitely a kind of contribution to the community.

I have received your message and will respond ASAP. Thank you for your patience! 😃

Best,
Wenjie

@WenjieDu
Copy link
Owner

Hey Eddie, many thanks for this interesting proposal. I'll take a look at TimeSHAP lib and its paper to see if it's possible for us to integrate it with PyPOTS.

@edpclau
Copy link
Author

edpclau commented Jul 21, 2023

Hey @WenjieDu,

A friend of mine and I actually got it to work. We had to do a lot of changes to the code. I'll share it here in case it helps you find a better solution.

https://github.com/edpclau/timeshap/tree/main/notebooks/GRU-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature Proposing to add a new feature
Projects
None yet
Development

No branches or pull requests

2 participants