This has been discussed in another thread... is there a super simple LSTM time-series prediction example anywhere? I am super new to tf and am having a hard time shaping data and trying my best to translate Keras examples I am finding online.
Any help is appreciated!
Hello Shanqing! Number 3!
Hi, sorry for hijacking the thread, been looking at you Pen and it's great. I'd like to ask something about it though!!For the sequence [0, 1, 0, 1, 0, 1, 0, 0, 1, 0], you're feeding the LSTM 2 values at a time? I got confused with the one hot encoding!! Each row in the tensor is the one hot encoding of the sequence, is that it?
also you're passing in 500 samples to the model, i read somewhere that LSTM doesn't like more than 300/400 values, is this true? Also i got about 0.00002 loss with your example, but i can't seem to go bellow 0.05 with a timeseries i'm working on, my guess is my data preparation is screwed.
I'm trying a timeseries classification but i can't seem to get it to work correctly. It trains and all the loss goes about 0.05, accuracy between 0.8/0.9 but then predictions seem all wrong!! Again, i guess my data prep is not right.