Created
August 26, 2020 13:53
-
-
Save sid321axn/fb02530a950c905b6cd461568fce7ffa to your computer and use it in GitHub Desktop.
This file contains 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
from keras.layers import LSTM | |
K.clear_session() | |
model_lstm = Sequential() | |
model_lstm.add(LSTM(50, input_shape=(1, X_train.shape[1]), activation='relu', kernel_initializer='lecun_uniform', return_sequences=False)) | |
model_lstm.add(Dense(1)) | |
model_lstm.summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment