From 7e85e342aed918c7c2105aa86aff14d51faacc9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Sk=C3=B3rzewski?= Date: Mon, 7 Jun 2021 14:50:30 +0200 Subject: [PATCH] =?UTF-8?q?Wyk=C5=82ad=204=20-=20poprawka=20kodu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wyk/4_Sieci_neuronowe.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wyk/4_Sieci_neuronowe.ipynb b/wyk/4_Sieci_neuronowe.ipynb index f5ebafe..5b85c2f 100644 --- a/wyk/4_Sieci_neuronowe.ipynb +++ b/wyk/4_Sieci_neuronowe.ipynb @@ -2480,7 +2480,7 @@ "y_train = keras.utils.to_categorical(y_train, num_classes)\n", "y_test = keras.utils.to_categorical(y_test, num_classes)\n", "\n", - "model3 = Sequential()\n", + "model3 = keras.Sequential()\n", "model3.add(Dense(2500, activation='tanh', input_shape=(784,)))\n", "model3.add(Dense(2000, activation='tanh'))\n", "model3.add(Dense(1500, activation='tanh'))\n", @@ -2868,7 +2868,7 @@ } ], "source": [ - "model5 = Sequential()\n", + "model5 = keras.Sequential()\n", "model5.add(Dense(4, activation='tanh', input_shape=(4,)))\n", "model5.add(Dense(4, activation='tanh'))\n", "model5.add(Dense(8, activation='relu'))\n", @@ -3058,7 +3058,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.5" + "version": "3.8.3" }, "livereveal": { "start_slideshow_at": "selected",