From 7d7c7972aeba412c14384fa1a6c9009c1260b1ab Mon Sep 17 00:00:00 2001 From: Jenil Shah <60750701+Jenil-S@users.noreply.github.com> Date: Mon, 17 May 2021 17:58:04 +0530 Subject: [PATCH] Updated name from lstm_prediction.py_tf to lstm_prediction.py and also imported keras (#4422) * Updated name from lstm_prediction.py_lf to lstm_prediction.py and also imported keras * Edited the changes * tensorflow 2.5 is has shipped!!! * Update lstm_prediction.py * Update lstm_prediction.py * One blank line, not two? Co-authored-by: Christian Clauss --- .../lstm/{lstm_prediction.py_tf => lstm_prediction.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename machine_learning/lstm/{lstm_prediction.py_tf => lstm_prediction.py} (95%) diff --git a/machine_learning/lstm/lstm_prediction.py_tf b/machine_learning/lstm/lstm_prediction.py similarity index 95% rename from machine_learning/lstm/lstm_prediction.py_tf rename to machine_learning/lstm/lstm_prediction.py index 5452f0443..6fd3cf291 100644 --- a/machine_learning/lstm/lstm_prediction.py_tf +++ b/machine_learning/lstm/lstm_prediction.py @@ -6,9 +6,9 @@ """ import numpy as np import pandas as pd -from keras.layers import LSTM, Dense -from keras.models import Sequential from sklearn.preprocessing import MinMaxScaler +from tensorflow.keras.layers import LSTM, Dense +from tensorflow.keras.models import Sequential if __name__ == "__main__": """