-
Notifications
You must be signed in to change notification settings - Fork 305
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
Adding Time Series Lime Explainer #179
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
rbm units were failing with latest numpy (1.25.x). Fixed the version to 1.24.x for rbm algorithm. The issue was not from current TSLime algorithm changes. |
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Signed-off-by: Giridhar Ganapavarapu <[email protected]>
Thanks @gganapavarapu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is to add Time Series Lime (TSLime) Explainer algorithm for forecasting, time series classification and regression use cases.
Short description of the algorithm is: Advanced time series models are complex and often hard to interpret. Time Series Local Interpretable Model-agnostic Explainer (TSLime) is a model-agnostic local time series explainer. It explains a time series model behavior using an approximate linear model as surrogate. TSLime approximates model response by evaluating the model over time series samples generated by applying time series perturbation techniques. The explanation produced by TSLime is the weights of the linear model over different time point observations. The relative signed value of the explanation is indicative of model sensitivity at temporal resolution. TSLime uses the recent time context length for the local surrogate model fitting.
Required Dependencies:
numpy
pandas <= 1.4.3
scikit-learn
scipy
algorithm folder is added here
example notebooks are added here
updated the examples readme here with univariate time series classification and multivariate forecasting notebook details.
This explainer's dependencies are subset of TSICE. So, included it in TSICE job here.