PriorMassTerminationSpec

class jaxrens.cli.schema.termination.PriorMassTerminationSpec(*, type='prior_mass', threshold=0.1)[source]

Bases: BaseTerminationSpec

Stop once the remaining prior mass falls below threshold.

The usual choice: prior mass contracts by (n_live + 1 - n_cull) / (n_live + 1) per iteration (≈ exp(-n_cull / n_live)), so the same threshold means the same depth of exploration regardless of n_live. Smaller values sample further into the low-energy tail.

termination:
  - type: prior_mass
    threshold: 1.e-5
Parameters:
model_config = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].