You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - I've been following along with the installation guide for TimeGPT in Python. I want to make sure I understand how to add exogenous variables to the forecast model. It seems that I can only pass an X_df that covers the forecast period, correct?
In my current test problem, I am adding a single exogenous variable that is very highly correlated with the outcome that I am forecasting throughout the dataset. There is one exception, where the relation gets decoupled, and that is during the forecast period. I expected to see the forecast follow the trend of exogenous predictor, but it does not - it remains smooth despite the sudden change in the exogenous variable, which makes me wonder if I am adding it correctly to the forecast.
Can you confirm that X_df should only contain data for the forecast period? I get errors if try to pass an X_df with any other length.
Thank you!
The text was updated successfully, but these errors were encountered:
Hey @drRussClay, thanks for using TimeGPT. Yes, X_df should contain the values of the exogenous features during the forecast period. Can you provide a small example with fake data that reproduces what you're seeing?
This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one.
Hello - I've been following along with the installation guide for TimeGPT in Python. I want to make sure I understand how to add exogenous variables to the forecast model. It seems that I can only pass an X_df that covers the forecast period, correct?
In my current test problem, I am adding a single exogenous variable that is very highly correlated with the outcome that I am forecasting throughout the dataset. There is one exception, where the relation gets decoupled, and that is during the forecast period. I expected to see the forecast follow the trend of exogenous predictor, but it does not - it remains smooth despite the sudden change in the exogenous variable, which makes me wonder if I am adding it correctly to the forecast.
Can you confirm that X_df should only contain data for the forecast period? I get errors if try to pass an X_df with any other length.
Thank you!
The text was updated successfully, but these errors were encountered: