etai83 / lstm_stock_prediction

This is an LSTM stock prediction using Tensorflow with Keras on top.
231 stars 155 forks source link

y_test starts from the beginning of complete dataset #10

Open qstraker opened 7 years ago

qstraker commented 7 years ago

Hi, Thank you for sharing this code. I am have been using this code to learn about machine learning, by trying to predict Bitcoin values. I noticed that the test data (y_test) start from the beginning of the dataset at line. X_train, y_train, X_test, y_test = load_data(df[::-1], window). Any particular reason for that?