Comments (2)
Hello Antonio,
- Although we did not specifically test TimeSHAP applied to regression, TimeSHAP is implemented on top of KernelSHAP which works for regression. I do not see a reason on why TimeSHAP would not be applicable to regression where the range of scores are not between 0 and 1. In case you test this, we would appreciate the feedback, and in case you have an example we would be happy to add it to our examples.
- In our examples we use a fixed sequence length only due to all sequences of the dataset being the same length. TimeSHAP explains one sequence at a time, and the sequence length is not a factor for TimeSHAP.
- According to the game theory of the Shapley Values, the calculated explanations are a fair distribution of the model score across the considered features (and events/cells in TimeSHAP). In the application of KernelSHAP and consequently of TimeSHAP, the difference between the instance score and the baseline score is distributed fairly across the considered axis, and therefore, their explanations can be interpreted quantitatively. An intuitive example follows: Given a feature A with value 20, with a "background" (uninformative) value of 10; If the Shapley value of A is 0.2, that means that the predicted score will be 0.2 higher if A=20 than if A=10; or f(A=20) = f(A=10) + 0.2.
Let me know if you have any further questions
from timeshap.
Closed this issue due to inactivity. If you have any further questions feel free to re-open the issue or create a new one
from timeshap.
Related Issues (20)
- TimeSHAP on regression sequence model HOT 2
- Apply Timeshap without pruning HOT 5
- how to generate output/event_all.csv file or run event_explain_all? HOT 2
- error reimplementing the pytorch jupyter example HOT 2
- Values instead of plots HOT 4
- Tensorflow notebook, Local Report on positive instance error HOT 1
- Array indexing with list of strings. HOT 1
- Doubts on provided notebook: dataset format, model configuration HOT 10
- TIMESHAP without pruning HOT 1
- Error ''Score difference between baseline and instance ... is too low < 0.1.'' HOT 2
- local_event report HOT 4
- How does TimeShap handle missing values (NA)? HOT 9
- global_explainer broken? HOT 1
- will it work for Tensorflow HOT 2
- Does the plot demonstrate that when my feature has a high value, the output either increases or decreases, or vice versa? HOT 2
- Can we wrap any other model than RNN like for transformer networks? HOT 2
- BlockRNN for regression
- Import Error: cannot import name 'Kernel' HOT 2
- Circular Importing in ARem_TF.ipynb
- UnicodeEncodeError: 'charmap' codec can't encode character '\u2264' in position 30: character maps to <undefined> HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timeshap.