jaxrens.sampling.termination¶
Termination criteria for nested sampling.
Pluggable termination system: each criterion implements the TerminationCriterion protocol. The outer NS loop calls check() after each iteration and terminates when any criterion is satisfied.
Available criteria: - IterationTermination: stop after max_iterations - PriorMassTermination: stop when remaining prior mass is negligible - TempTermination: stop when Z(T_target) has converged (Baldock et al. 2017) - EnergyTermination: stop when E_max < target energy
Functions
Check all termination criteria and return on first satisfied. |
Classes
Terminate when the dead-point energy falls below a target. |
|
Terminate after a fixed number of iterations. |
|
Convert a string or number to a floating point number, if possible. |
|
Terminate when remaining prior mass contributes negligibly to evidence. |
|
Temperature-based termination following Baldock et al. (2017). |
|
Protocol for termination criteria. |