pytorch-forecasting icon indicating copy to clipboard operation
pytorch-forecasting copied to clipboard

How to set up a training process that can take forecasts from other models

Open arizzuto opened this issue 1 year ago • 0 comments

I have a general question about how to handle training where some of the covariates are themselves forecasts. I am building a TFT model where the decoder part of each training context window for some covariates would be sourced from a forecast. At each time index that forecast would be different and thus cannot be easily represented by a single time series.

For example: Target variable is y(t), Covariate time series x(t). is a forecast in the decoder but a known value in the encoder. At each time (t) that forecast will be potentially different.

How would I set up a dataset/dataloader to handle this case, and is this even possible in the current implementation?

Thanks in advance for any pointers!

p.s. thank you for all the work everyone does on this package, it's an incredible tool!

arizzuto avatar Feb 19 '24 04:02 arizzuto