kaelzhang / DA-RNN-in-Tensorflow-2-and-PyTorch

A Tensorflow 2 (Keras) implementation of DA-RNN (A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Prediction, arXiv:1704.02971)
MIT License
30 stars 12 forks source link

Are multi-step predictions possible? #2

Open moritz-raabe opened 3 years ago

moritz-raabe commented 3 years ago

Hey,

thanks for providing this nice library! :)

Running your example I was wondering if it is possible to change the length of the predictions. As far as I have seen, only a prediction of length 1 is produced. But for my thesis I would like to forecast up to 96 time-steps into the future...

Would that be possible and if yes could you provide an example?

Thanks in advance and have a great day!

kaelzhang commented 3 years ago

Generally, there are two kinds of multi-step predictions:

kaelzhang commented 3 years ago

Besides, IMO, time-series prediction is a very bad way to do quant trading and multi-step predictions will bring even worse results.

I think a 96 time-step prediction will be worse than doing nothing.