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
66a ` goal ` as a function that takes the learner and returns a boolean: ` False `
77for "continue running" and ` True ` for "stop". This gives you a lot of flexibility
88for 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.
1312
1413``` {eval-rst}
1514.. autofunction:: adaptive.runner.auto_goal
You can’t perform that action at this time.
0 commit comments