How can I predict, forecast the value of the next day using Keras' LSTM?
I seek your advice to forecast the values after that using LSTM in Keras. I have x_train 62796 and x_test 15684 and I want to predict the values after that. Twenty data collections correspond to a day So, I set the look_back to 20. and Here is my code : ... look_back = 20 train_size = int(len(data) * 0.80) test_size = len(data) - train_size train = data[0:train_size] test = data[train_size:len(data)] x_train, y_train = create_dataset(train, look_back) x_test, y_test = create_dataset(test, look_back) x_train = np.reshape(x_train, (x_train.shape[0], x_train.shape[1], 1)) x_test = np.reshape(x