BQStoppingCriterion

class probnum.quad.solvers.stopping_criteria.BQStoppingCriterion

Bases: StoppingCriterion

Stopping criterion of a Bayesian quadrature method.

Checks whether quantities tracked by the BQState meet a desired terminal condition.

See also

IntegralVarianceTolerance

Stop based on the variance of the integral estimator.

RelativeMeanChange

Stop based on the absolute value of the integral variance.

MaxNevals

Stop based on a maximum number of iterations.

ImmediateStop

Dummy 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