Skip to content

Commit b649ec8

Browse files
authored
typo fixes
1 parent 2f54bff commit b649ec8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/JupyterNotebookExamples/Hyperparameter Search.ipynb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"cell_type": "markdown",
6868
"metadata": {},
6969
"source": [
70-
"### Create a session and login"
70+
"### Create a session and log in"
7171
]
7272
},
7373
{
@@ -231,7 +231,7 @@
231231
"cell_type": "markdown",
232232
"metadata": {},
233233
"source": [
234-
"The downloaded results file is a summary of all the operator output in the workflow. In particular, it's a json file that we can manipulate or save to disk."
234+
"The downloaded results file is a summary of all the operator output in the workflow. In particular, it is a JSON file that we can manipulate or save to disk."
235235
]
236236
},
237237
{
@@ -254,7 +254,7 @@
254254
"source": [
255255
"### Parsing workflow results\n",
256256
"\n",
257-
"When we convert the downloaded results to a Python object we get a nested dictionary/list object. I'm pulling two values out of the results: \n",
257+
"When we convert the downloaded results to a Python object we get a nested dictionary/list object. Here we're pulling two values out of the results: \n",
258258
"\n",
259259
"1. The overall prediction accuracy. This comes from the *Confusion Matrix* operator.\n",
260260
"2. The number of trees. This comes from the *Alpine Forest Classification* operator.\n",
@@ -290,7 +290,7 @@
290290
"source": [
291291
"### Workflow variables\n",
292292
"\n",
293-
"Variables with different values can be inserted into workflows. They have to be formatted as below and are passed as an optioned argument to workflow run method."
293+
"Variables with different values can be inserted into workflows. They have to be formatted as below and are passed as an optioned argument to the workflow run method."
294294
]
295295
},
296296
{
@@ -349,23 +349,23 @@
349349
"name": "stdout",
350350
"output_type": "stream",
351351
"text": [
352-
"Running with work flow variable: [{'name': '@n_trees', 'value': '5'}]\n",
352+
"Running with workflow variable: [{'name': '@n_trees', 'value': '5'}]\n",
353353
"Workflow in progress for ~191.1 seconds. \n",
354354
"For 5 trees, test accuracy is 0.8530647\n",
355355
"\n",
356-
"Running with work flow variable: [{'name': '@n_trees', 'value': '10'}]\n",
356+
"Running with workflow variable: [{'name': '@n_trees', 'value': '10'}]\n",
357357
"Workflow in progress for ~207.0 seconds. \n",
358358
"For 10 trees, test accuracy is 0.861461\n",
359359
"\n",
360-
"Running with work flow variable: [{'name': '@n_trees', 'value': '25'}]\n",
360+
"Running with workflow variable: [{'name': '@n_trees', 'value': '25'}]\n",
361361
"Workflow in progress for ~250.3 seconds. \n",
362362
"For 25 trees, test accuracy is 0.8709068\n",
363363
"\n",
364-
"Running with work flow variable: [{'name': '@n_trees', 'value': '50'}]\n",
364+
"Running with workflow variable: [{'name': '@n_trees', 'value': '50'}]\n",
365365
"Workflow in progress for ~311.6 seconds. \n",
366366
"For 50 trees, test accuracy is 0.875105\n",
367367
"\n",
368-
"Running with work flow variable: [{'name': '@n_trees', 'value': '75'}]\n",
368+
"Running with workflow variable: [{'name': '@n_trees', 'value': '75'}]\n",
369369
"Workflow in progress for ~363.1 seconds. \n",
370370
"For 75 trees, test accuracy is 0.877204\n",
371371
"\n"
@@ -376,7 +376,7 @@
376376
"test_acc = []\n",
377377
"\n",
378378
"for variable in variables:\n",
379-
" print(\"Running with work flow variable: {}\".format(variable))\n",
379+
" print(\"Running with workflow variable: {}\".format(variable))\n",
380380
" process_id = session.workfile.process.run(workflow_id, variables=variable)\n",
381381
" session.workfile.process.wait_until_finished(workflow_id, process_id, verbose=True, query_time=5, timeout=1000)\n",
382382
" \n",

0 commit comments

Comments
 (0)