[D] Time series forecasting RNN fail
Here is full code
https://colab.research.google.com/drive/1gHkpsuSapDSUj3Q9kGwR6pWzVM1m1d8E
I took Bitcoin data, trained the model, if simply predict the test set, the result looks nice.
https://colab.research.google.com/drive/1gHkpsuSapDSUj3Q9kGwR6pWzVM1m1d8E#scrollTo=4r8XINzZUPxw
But when I tried to predict from the predicted values (its called stepwise?), the model fail and gives the same number.
Like here
https://colab.research.google.com/drive/1gHkpsuSapDSUj3Q9kGwR6pWzVM1m1d8E#scrollTo=7Q9xGm9MSjEB
Also i tried to make statefull copy of model (it suggested somewhere on stackoverflow), but it fail too:
https://colab.research.google.com/drive/1gHkpsuSapDSUj3Q9kGwR6pWzVM1m1d8E#scrollTo=-bsazaipc2LL
submitted by /u/hadaev
[link] [comments]