BQStoppingCriterion¶
- class probnum.quad.solvers.stopping_criteria.BQStoppingCriterion¶
Bases:
StoppingCriterionStopping criterion of a Bayesian quadrature method.
Checks whether quantities tracked by the
BQStatemeet a desired terminal condition.See also
IntegralVarianceToleranceStop based on the variance of the integral estimator.
RelativeMeanChangeStop based on the absolute value of the integral variance.
MaxNevalsStop based on a maximum number of iterations.
ImmediateStopDummy stopping criterion that always stops.
Methods Summary
__call__(bq_state, info)Check whether tracked quantities meet a desired terminal condition.
Methods Documentation
- __call__(bq_state, info)[source]¶
Check whether tracked quantities meet a desired terminal condition.
- Parameters:
bq_state (BQState) – State of the BQ belief.
info (BQIterInfo) – State of the BQ iteration.
- Returns:
Whether the stopping condition is met.
- Return type:
stopping_decision