Fix probability at the end of the Reber exercise (fixes #266)

main
Aurélien Geron 2018-07-30 18:52:50 +01:00
parent 0e0483d5ee
commit a28604d023
1 changed files with 2 additions and 2 deletions

View File

@ -2442,7 +2442,7 @@
"print()\n",
"print(\"Estimated probability that these are Reber strings:\")\n",
"for index, string in enumerate(test_strings):\n",
" print(\"{}: {:.2f}%\".format(string, y_proba_val[index][0]))"
" print(\"{}: {:.2f}%\".format(string, 100 * y_proba_val[index][0]))"
]
},
{
@ -2492,7 +2492,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.2"
"version": "3.6.5"
},
"nav_menu": {},
"toc": {