-
Notifications
You must be signed in to change notification settings - Fork 0
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
#675 add first draft for tft_explainer #1
Conversation
super().explain( | ||
foreground_series, foreground_past_covariates, foreground_future_covariates | ||
) | ||
if self._explain_results is None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you should cache the explainability results, they should be recomputed when explain() is called (with potentially different series)
def __init__( | ||
self, | ||
model: TFTModel, | ||
background_series: Optional[Union[TimeSeries, Sequence[TimeSeries]]] = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to provide these background series? If they don't play a role I'd remove.
"encoder_names": encoder_names, | ||
"attention_heads": attention_heads, | ||
} | ||
self._explain_results = ExplainabilityResult({"tft": expl_res}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ExplainabilityResult
should probably contain some TimeSeries
This PR is deprecated. The real PR can be found in the darts repository unit8co#1392 |
This is a Draft PR
Fixes #.
Summary
Other Information