Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Swellisgood committed Feb 7, 2023
1 parent 762bac5 commit 61dc054
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Binary file modified __pycache__/app_functions.cpython-310.pyc
Binary file not shown.
Binary file added __pycache__/app_kmeans_levels.cpython-310.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from datetime import datetime
from app_dropdown import *
import dash_daq as daq
from app_kmeans_levels import *


# Start by displaying L3M
Expand Down
15 changes: 11 additions & 4 deletions lstm_crypto.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@
"source": [
" The model consists of 3 layers:\n",
"\n",
"- LSTM layer with 128 units, sigmoid activation, set to return sequences and with L2 regularization with a strength of 0.01.\n",
"- LSTM layer with 128 units, tanh activation function, set to return sequences and with L2 regularization with a strength of 0.01.\n",
"- Dropout layer with rate 0.2 to prevent overfitting\n",
"- Dense layer with 1 unit, no activation function specified (defaults to linear).\n",
"\n",
Expand Down Expand Up @@ -1159,7 +1159,7 @@
],
"source": [
"model = keras.Sequential([\n",
" layers.LSTM(64, input_shape=X.shape[1:], activation=\"tanh\", return_sequences=True, kernel_regularizer=regularizers.l2(0.01)),\n",
" layers.LSTM(128, input_shape=X.shape[1:], activation=\"tanh\", return_sequences=True, kernel_regularizer=regularizers.l2(0.01)),\n",
" layers.Dropout(0.2),\n",
" layers.Dense(1)])\n",
"\n",
Expand Down Expand Up @@ -1962,11 +1962,18 @@
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3.10.9 ('venv': venv)",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python"
"name": "python",
"version": "3.10.9"
},
"vscode": {
"interpreter": {
"hash": "7bb21585f0846a4eec36f874ca935b6418c3279fc3b14686f124fd27fbdb9950"
}
}
},
"nbformat": 4,
Expand Down

0 comments on commit 61dc054

Please sign in to comment.