From 8cbadc5eae8e2d3fa07adecfb60df943ae04f016 Mon Sep 17 00:00:00 2001 From: The Data Lady Date: Tue, 27 Apr 2021 23:32:13 -0700 Subject: [PATCH] Update lstm_prediction.py_tf Import keras from tensorflow --- machine_learning/lstm/lstm_prediction.py_tf | 1 + 1 file changed, 1 insertion(+) diff --git a/machine_learning/lstm/lstm_prediction.py_tf b/machine_learning/lstm/lstm_prediction.py_tf index 5452f0443f62..b9a26b8f384b 100644 --- a/machine_learning/lstm/lstm_prediction.py_tf +++ b/machine_learning/lstm/lstm_prediction.py_tf @@ -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