pystra.active_learning.stopping.StoppingCriterion#
Use it: User guide · Worked example · Theory
- class StoppingCriterion(*, target_cov=0.1)[source]#
Bases:
ABCSeparate surrogate convergence from final sampling precision.
Policies must not keep mutable per-run counters: use the supplied history so repeated analyses start fresh.
target_covdefaults to 0.1. The default final check rejects zero/all failures and nonfinite CoV, even if the surrogate policy is satisfied. Custom policies may override either decision and must document the meaning of convergence.Methods
Require an interior probability and adequate finite sampling CoV.
Decide surrogate convergence from fits up to and including this fit.