Skip to content

Commit 250b709

Browse files
authored
do not limit Runner to ntasks=4 in example ipynb
1 parent 7430983 commit 250b709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example-notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
"source": [
105105
"# The end condition is when the \"loss\" is less than 0.01. In the context of the\n",
106106
"# 1D learner this means that we will resolve features in 'func' with width 0.01 or wider.\n",
107-
"runner = adaptive.Runner(learner, goal=lambda l: l.loss() < 0.01, ntasks=4)\n",
107+
"runner = adaptive.Runner(learner, goal=lambda l: l.loss() < 0.01)\n",
108108
"runner.live_info()"
109109
]
110110
},

0 commit comments

Comments
 (0)