mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Fix probability at the end of the Reber exercise (fixes #266)
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user