Skip to content
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

How would you include exogenous variables (covariates)? #22

Open
srggrs opened this issue Mar 21, 2024 · 5 comments
Open

How would you include exogenous variables (covariates)? #22

srggrs opened this issue Mar 21, 2024 · 5 comments
Labels
FAQ Frequently asked question

Comments

@srggrs
Copy link

srggrs commented Mar 21, 2024

I was wondering if it is possible to add exogenous variables as extra features to use in the model. Cheers

@lostella
Copy link
Contributor

Hi @srggrs, currently this is not possible out of the box: Chronos models only makes predictions based on historical data of the target series. This is definitely something to add in future work. I think the major difficulty in dealing with exogenous variables in a pre-trained manner is finding good data in large amounts. Definitely something that requires deeper research.

@lostella lostella added the FAQ Frequently asked question label Mar 21, 2024
@srggrs
Copy link
Author

srggrs commented Mar 21, 2024

yeah makes sense! Thanks!

@sudongwang-upc
Copy link

Hi @srggrs, currently this is not possible out of the box: Chronos models only makes predictions based on historical data of the target series. This is definitely something to add in future work. I think the major difficulty in dealing with exogenous variables in a pre-trained manner is finding good data in large amounts. Definitely something that requires deeper research.

What are the possible ways to add covariates to the model? Now it seems that the input of Chronos, like the language model, is a single word, while covariates and target variables are generally not on the same scale and are not suitable for inclusion in the same vocabulary.

@lostella lostella changed the title How would you include exogenous variables? How would you include exogenous variables (covariates)? Jun 23, 2024
@grishazohrab
Copy link

I was wondering if it is possible to add exogenous variables as extra features to use in the model. Cheers

Me too. Have anyone tried to add them into input. For example, If I have X[i:i + H] historical data, I want to predict X[i + H +1: i + H + N], and I concatenate Y[i:i + H] exogenous variable data(i can use different scaling for them). Would it work? Have anyone tried something like that?

@lostella
Copy link
Contributor

lostella commented Jun 23, 2024

I was wondering if it is possible to add exogenous variables as extra features to use in the model. Cheers

Me too. Have anyone tried to add them into input. For example, If I have X[i:i + H] historical data, I want to predict X[i + H +1: i + H + N], and I concatenate Y[i:i + H] exogenous variable data(i can use different scaling for them). Would it work? Have anyone tried something like that?

@grishazohrab this will not work, see my answer: the models were trained for univariate forecasting tasks without any covariate information as input, but only contextual data from the target time series.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FAQ Frequently asked question
Projects
None yet
Development

No branches or pull requests

4 participants