You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61Lines changed: 61 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -447,5 +447,66 @@ LSTM network needs the data imported as a 3D array. To translate this 2D array i
447
447
To create this model, you will need to have TensorFlow, TensorFlow-Gpu and Keras install in order for this to run. The code for this model can be seen below and the explanation for each layer is also defined below:
448
448
449
449
```python
450
+
defcreate_long_short_term_memory_model(x_train):
451
+
model = Sequential()
452
+
# 1st layer with Dropout regularisation
453
+
# * units = add 100 neurons is the dimensionality of the output space
454
+
# * return_sequences = True to stack LSTM layers so the next LSTM layer has a three-dimensional sequence input
0 commit comments