Quantcast
Channel: Feeding input into keras Sequential model - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Ram Shanker G for Feeding input into keras Sequential model

train_x = np.reshape(train_x, (train_x.shape[0], train_x.shape[1], 1)) train_y = np.reshape(train_y, (train_y.shape[0], train_y.shape[1], 1) I think the error is here, you should have given the time...

View Article



Answer by Hasee Amarathunga for Feeding input into keras Sequential model

if you expected shape (2688, 10, 1) then it cant be input_shape=(1, time_steps). It should input_shape=(time_steps,1)

View Article

Feeding input into keras Sequential model

I'm working on time series prediction with Keras. I have 10 timesteps in my input data which is of the shape (2688, 10, 1) i.e train_x.shape and train_y.shape is (2688, 10, 1). I am getting the...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images