odkomentowanie kawałka kodu

This commit is contained in:
Anna Nowak 2021-05-31 15:18:20 +02:00
parent 9dd597a163
commit 9fbdcee7d9

View File

@ -1284,20 +1284,28 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 16,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"ename": "IndentationError", "name": "stdout",
"evalue": "unexpected indent (<ipython-input-15-1138f6b901c3>, line 2)", "output_type": "stream",
"output_type": "error", "text": [
"traceback": [ "Y: 10\tPredicted: 10\n",
"\u001b[1;36m File \u001b[1;32m\"<ipython-input-15-1138f6b901c3>\"\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" "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": [ "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]}\")" " print(f\"Y: {Y_test.to_numpy()[i]}\\tPredicted: {Y_test_predicted[i]}\")"
] ]
} }