Created
January 5, 2021 13:37
-
-
Save suhaskv/93ea132a7d8d43596c73407d60c9ec7e to your computer and use it in GitHub Desktop.
VSB Power Line Blog - Bi-directional LSTM implementation
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
# training data input_shape = (2904, 160, 57) | |
# test data input_shape = (6779, 160, 57) | |
inp = Input(shape=(input_shape[1], input_shape[2],)) | |
# training data feature shape = (2904, 98) | |
# test data feature shape = (6779, 98) | |
feat = Input(shape=(feat_shape[1],)) | |
bi_lstm_1 = Bidirectional(LSTM(128, return_sequences=True), merge_mode='concat')(inp) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment