File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ Runners allow you to specify the stopping criterion by providing
6
6
a ` goal ` as a function that takes the learner and returns a boolean: ` False `
7
7
for "continue running" and ` True ` for "stop". This gives you a lot of flexibility
8
8
for defining your own stopping conditions, however we also provide some common
9
- stopping conditions as a convenience. The ` adaptive.runner.auto_goal ` will
10
- automatically create a goal based on simple input types, e.g., an int means
11
- at least that many points are required and a float means that the loss has
12
- to become lower or equal to that float.
9
+ stopping conditions as a convenience. For example, to continue until the loss is below a threshold ` x ` ,
10
+ you may specify ` loss_goal=x ` . Similarly, to continue until ` n ` points have been sampled, you may
11
+ specify ` npoints_goal=n ` . See the Runner docstring for details.
13
12
14
13
``` {eval-rst}
15
14
.. autofunction:: adaptive.runner.auto_goal
You can’t perform that action at this time.
0 commit comments