-
Notifications
You must be signed in to change notification settings - Fork 886
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
Shap explanation for recursive multi-step forecasting #2488
Comments
Hi @ncooder, I am not sure to understand what you mean but you can find some information about explanability with Darts here. The Let me know if it answers you questions. |
@madtoinou Thank you for your response. I am implementing a recursive multi-step forecasting model for n-step ahead predictions. It involves iteratively forecasting one step ahead, adding each prediction into the dataset, and repeating with the same model. My concern is the interpretation of shap explanation in this context. It is unclear for me whether shap in darts explains each one-step-ahead prediction individually or provides a global explanation for the entire n-step forecast. |
Since each iteration consists in forecasting only one step, the Darts implementation of shap should explain each one-step-ahead prediction. You can think of it as the explainer is bound to the model which was defined with It might be possible to use shap in the context of recursive prediction but it's not yet implemented in Darts. |
@madtoinou Thank you for your reply. This is what I was asking for. If there is not an existing solution, please mark it as a feature that can be introduced in future versions of darts. |
Shapley explanation works for the whole prediction set, however sometimes one needs to explain every step in the forecasting. This is a complex issue due to using different approaches - direct or recursive models. Is there a way to do it step-by-step for the whole horizon?
The text was updated successfully, but these errors were encountered: