From e8722eafa597e273d0a1c18f1a6e1c10fc1aab1a Mon Sep 17 00:00:00 2001 From: Mohammad Alizadeh Date: Sat, 19 Jan 2019 20:12:12 +0330 Subject: [PATCH] Modify some lines The "Compile the LSTM Model" must be written before the fit. --- ...S_YB_08_IMPLEMENTING_LSTM_V181204_14.ipynb | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/BioBot_FDS_YB_08_IMPLEMENTING_LSTM_V181204_14.ipynb b/BioBot_FDS_YB_08_IMPLEMENTING_LSTM_V181204_14.ipynb index a620530..03a14ce 100644 --- a/BioBot_FDS_YB_08_IMPLEMENTING_LSTM_V181204_14.ipynb +++ b/BioBot_FDS_YB_08_IMPLEMENTING_LSTM_V181204_14.ipynb @@ -1443,6 +1443,29 @@ "execution_count": 0, "outputs": [] }, + { + "metadata": { + "id": "dsIFprSTnGV8", + "colab_type": "text" + }, + "cell_type": "markdown", + "source": [ + "### Compile the LSTM Model" + ] + }, + { + "metadata": { + "id": "QgrmgnCYbAow", + "colab_type": "code", + "colab": {} + }, + "cell_type": "code", + "source": [ + "my_model_NN.compile(loss='mae', optimizer='adam')" + ], + "execution_count": 0, + "outputs": [] + }, { "metadata": { "id": "ogEXXLqnnCTj", @@ -1500,29 +1523,6 @@ } ] }, - { - "metadata": { - "id": "dsIFprSTnGV8", - "colab_type": "text" - }, - "cell_type": "markdown", - "source": [ - "### Compile the LSTM Model" - ] - }, - { - "metadata": { - "id": "QgrmgnCYbAow", - "colab_type": "code", - "colab": {} - }, - "cell_type": "code", - "source": [ - "my_model_NN.compile(loss='mae', optimizer='adam')" - ], - "execution_count": 0, - "outputs": [] - }, { "metadata": { "id": "Xh4r5rA3b8z5", @@ -3828,4 +3828,4 @@ ] } ] -} \ No newline at end of file +}