Created
April 30, 2019 13:32
-
-
Save jkotra/2b3d5344147bff9989b5896b071e476a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
today = total_x[-1].reshape(-1).tolist() | |
last_price = scaler.transform(infered['Open_Predicted'][-1].reshape(-1, 1)) | |
today.append(last_price[0]) | |
today = today[1:] | |
today = np.array(today).reshape(-1,60,1) | |
tomorrow = model.predict(today) | |
tomorrow = scaler.inverse_transform(tomorrow)[0] | |
print(tomorrow) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment