mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Correct small coding typo
This commit is contained in:
@@ -1383,7 +1383,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"def string_to_ids(s, chars=POSSIBLE_CHARS):\n",
|
||||
" return [POSSIBLE_CHARS.index(c) for c in s]"
|
||||
" return [chars.index(c) for c in s]"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user