Replies: 1 comment 1 reply
-
You don't need to retrain the model, you just have to update your data and provide it through the nf.fit(train_df)
extended = pd.concat([train_df, updates_df])
nf.predict(df=extended) where If you're using exogenous features then you have to provide their values for 21:00, 22:00, ... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings to all. I can't figure out how to use TimesNet for short-term forecasting after training and whether it is possible to make predictions without retraining. For example, I have historical data from 2018 to 2023, where I train a TimesNet model on a time series. These are indicators of the value of the company's shares in the form of
I set the following model parameters during training:
The last line in my training dataset is 02.01.2024 16:00 298.43
Immediately after learning, I try to predict on
TimesNet is doing well. But then I want to predict at 19:00 and 20:00, but already upload fresh data (because at the current time I already know what the actual amounts were at 17:00 and 18:00). I can't put fresh data into the model, I just can't predict on the trained model at 19:00 and 20:00 either, since it wants to see data for 17:00 and 18:00 in trained dataset. So in order to predict a couple of hours ahead, given the actual data for the last 10 hours, do I need to retrain the model every time?
Beta Was this translation helpful? Give feedback.
All reactions