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
import da_ponz.utilities.data_tools as data_tools | |
import da_ponz.utilities.logging_tools as logging_tools | |
import da_ponz.lstm.data_preparation as data_preparation | |
import da_ponz.lstm.model as lstm | |
import da_ponz.utilities.sql_tools as sql_tools | |
import itertools | |
import json | |
import keras | |
import math |
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
import keras | |
def add_lstm_layer(batch_size, stateful, units, X_shape): | |
lstm = keras.layers.LSTM(units, batch_input_shape=(batch_size, X_shape[1], X_shape[2]), | |
stateful=stateful) | |
return lstm | |
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
### Keybase proof | |
I hereby claim: | |
* I am ericbhanson on github. | |
* I am ericbhanson (https://keybase.io/ericbhanson) on keybase. | |
* I have a public key whose fingerprint is 17CE 4CD2 4B8A D4FC 2A9B 8533 050E 63CC B282 434D | |
To claim this, I am signing this object: |