Skip to content

Commit 5a7dcb8

Browse files
committed
change default values in the notebook
1 parent c602a86 commit 5a7dcb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

learner.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
"source": [
116116
"# The end condition is when the \"loss\" is less than 0.1. In the context of the\n",
117117
"# 1D learner this means that we will resolve features in 'func' with width 0.1 or wider.\n",
118-
"runner = adaptive.Runner(learner, goal=lambda l: l.loss() < 0.05)\n",
118+
"runner = adaptive.Runner(learner, goal=lambda l: l.loss() < 0.01)\n",
119119
"runner.live_info()"
120120
]
121121
},
@@ -475,7 +475,7 @@
475475
" return x + z**2 + np.exp(-(x**2 + y**2 + z**2 - 0.75**2)**2/a**4)\n",
476476
"\n",
477477
"learner = adaptive.LearnerND(sphere, bounds=[(-1, 1), (-1, 1), (-1, 1)])\n",
478-
"runner = adaptive.Runner(learner, goal=lambda l: l.loss() < 0.01)\n",
478+
"runner = adaptive.Runner(learner, goal=lambda l: l.loss() < 0.001)\n",
479479
"runner.live_info()"
480480
]
481481
},

0 commit comments

Comments
 (0)