-
Notifications
You must be signed in to change notification settings - Fork 368
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
what dose the parameters "df" really mean in NeuralForecast.predict() method? #1218
Comments
Hello! In the By passing a So, suppose you fit on data that ends on "2024-01-01" (YYYY-MM-DD) and you have a daily frequency. Then, calling In your case, you specify However, if you pass less than 20, then padding is done and the performance degrades, because the model needs 20 values to make predictions. I hope this helps, let me know if it answers your question! |
Your answer is really helpful for me, I fully understand it now. Thanks a lot! |
No problem! |
Dose it mean any historical time steps outside the training set used to predict the future?
When I fit the model with h=5 and input_size=20, what do the df with len(df)=10,len(df)=20 and len(df)=30 mean respectively when passing them during prediction?
I found that when len(df)=20 and len(df)=30, the predictions are the same, it seemed that df[20:30] was not used; but when I passed a df with len(df)=10,the prediction was completely wrong
So I am so confused...
Thank you for help
The text was updated successfully, but these errors were encountered: