From 17e0efcde602be508e9449a5a61e6290bf4664c1 Mon Sep 17 00:00:00 2001 From: The Data Lady Date: Tue, 27 Apr 2021 23:39:00 -0700 Subject: [PATCH] Update and rename lstm_prediction.py_tf to lstm_prediction.py Import keras from tensorflow --- .../lstm/{lstm_prediction.py_tf => lstm_prediction.py} | 1 + 1 file changed, 1 insertion(+) rename machine_learning/lstm/{lstm_prediction.py_tf => lstm_prediction.py} (98%) diff --git a/machine_learning/lstm/lstm_prediction.py_tf b/machine_learning/lstm/lstm_prediction.py similarity index 98% rename from machine_learning/lstm/lstm_prediction.py_tf rename to machine_learning/lstm/lstm_prediction.py index 5452f0443f62..b9a26b8f384b 100644 --- a/machine_learning/lstm/lstm_prediction.py_tf +++ b/machine_learning/lstm/lstm_prediction.py @@ -6,6 +6,7 @@ """ import numpy as np import pandas as pd +from tensorflow import keras from keras.layers import LSTM, Dense from keras.models import Sequential from sklearn.preprocessing import MinMaxScaler