Clarification on Data Scaling for Zero-Shot Time Series Predictions Using TimesFM #222
Unanswered
mrlucasrib
asked this question in
Q&A
Replies: 1 comment
|
Scaling is unnecessary: TimesFM normalises every input series inside the model and maps the forecast back to the original scale, so standardising beforehand changes nothing.
Checked on 2.5 ( p1, _ = model.forecast(horizon=24, inputs=[x])
p2, _ = model.forecast(horizon=24, inputs=[1000 * x + 5e4])
np.abs((p2[0] - 5e4) / 1000 - p1[0]).max() # ~3e-6Both versions also have an opt-in flag that normalises the whole series first: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I am working on time series predictions in a zero-shot setting and noticed that neither this model nor other time series foundation models seem to perform any scaling (e.g., standardization or normalization) on the dataset before running it through the model.
This raises a question:
Is scaling omitted because the models assume that users will handle it beforehand?
Or is scaling unnecessary for these models?
I would greatly appreciate any clarification or guidance regarding the appropriate preprocessing steps, particularly in the context of zero-shot predictions.
Additional Information:
I am using the GluonTS library with a class wrapper to run the model. For reference, here is the implementation I am working with:
TimesFM Notebook.
Thank you for your assistance!
All reactions