Fix probability at the end of the Reber exercise (fixes #266)
parent
0e0483d5ee
commit
a28604d023
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue