QData / spacetimeformer

Multivariate Time Series Forecasting with efficient Transformers. Code for the paper "Long-Range Transformers for Dynamic Spatiotemporal Forecasting."
https://arxiv.org/abs/2109.12218
MIT License
808 stars 191 forks source link

Question regarding the use of projected exogenous variable values #95

Open azylbertal opened 4 months ago

azylbertal commented 4 months ago

I would like to provide some exogenous variable values as part of the target sequence (a known 'forced' future sequence that modulate the other variables). Does the model support it? Could it be achieved by simply editing dec_y = torch.zeros_like(y_t).to(self.device) (in forward_model_pass) such that these variables will remain nonzero?

Thanks!