From 9fbdcee7d9839443fb94850e67a0962b793da8c4 Mon Sep 17 00:00:00 2001 From: Anna Nowak Date: Mon, 31 May 2021 15:18:20 +0200 Subject: [PATCH] =?UTF-8?q?odkomentowanie=20kawa=C5=82ka=20kodu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bayes.ipynb | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/Bayes.ipynb b/Bayes.ipynb index e56899e..a5bf3ac 100644 --- a/Bayes.ipynb +++ b/Bayes.ipynb @@ -1284,20 +1284,28 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 16, "metadata": {}, "outputs": [ { - "ename": "IndentationError", - "evalue": "unexpected indent (, line 2)", - "output_type": "error", - "traceback": [ - "\u001b[1;36m File \u001b[1;32m\"\"\u001b[1;36m, line \u001b[1;32m2\u001b[0m\n\u001b[1;33m print(f\"Y: {Y_test.to_numpy()[i]}\\tPredicted: {Y_test_predicted[i]}\")\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mIndentationError\u001b[0m\u001b[1;31m:\u001b[0m unexpected indent\n" + "name": "stdout", + "output_type": "stream", + "text": [ + "Y: 10\tPredicted: 10\n", + "Y: 9\tPredicted: 8\n", + "Y: 3\tPredicted: 1\n", + "Y: 6\tPredicted: 6\n", + "Y: 7\tPredicted: 7\n", + "Y: 10\tPredicted: 7\n", + "Y: 1\tPredicted: 1\n", + "Y: 3\tPredicted: 6\n", + "Y: 4\tPredicted: 4\n", + "Y: 8\tPredicted: 10\n" ] } ], "source": [ - "# for i in range(10):\n", + "for i in range(10):\n", " print(f\"Y: {Y_test.to_numpy()[i]}\\tPredicted: {Y_test_predicted[i]}\")" ] }