Code Monkey home page Code Monkey logo

Comments (2)

JoaoPBSousa avatar JoaoPBSousa commented on May 22, 2024

Hello Antonio,

  1. 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.
  2. 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.
  3. 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.

JoaoPBSousa avatar JoaoPBSousa commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.