Changed typehint for block 34
This commit is contained in:
@@ -2700,7 +2700,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 35,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "AsC4oa2qKPSG"
|
"id": "AsC4oa2qKPSG"
|
||||||
},
|
},
|
||||||
@@ -2722,7 +2722,7 @@
|
|||||||
"# final predictive model (k-nearest-neighbor), with tuned k + ALL data incorporated\n",
|
"# final predictive model (k-nearest-neighbor), with tuned k + ALL data incorporated\n",
|
||||||
"#\n",
|
"#\n",
|
||||||
"\n",
|
"\n",
|
||||||
"def predictiveModel( features: list[float] ) -> None:\n",
|
"def predictiveModel( features: list[float] ) -> str:\n",
|
||||||
" ''' input: a list of four features\n",
|
" ''' input: a list of four features\n",
|
||||||
" [ sepallen, sepalwid, petallen, petalwid ]\n",
|
" [ sepallen, sepalwid, petallen, petalwid ]\n",
|
||||||
" output: the predicted species of iris, from\n",
|
" output: the predicted species of iris, from\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user