superstats.transition.stochastic.jump#
Jump-process transition models.
Classes
|
Simple jump process: stay or jump to a proposal draw. |
- class superstats.transition.stochastic.jump.Jump(bounds=None, initial_prior=None, p_jump=1.0, proposal_prior=None)[source]#
Bases:
StochasticTransitionSimple jump process: stay or jump to a proposal draw.
- Parameters:
- bounds
tupleorNone,optional, default:None Lower and upper bounds for the latent state.
- initial_prior
PriororNone,optional, default:None Prior for the initial latent state.
- p_jump
floatorPrior,optional, default: 1.0 Probability of jumping at each step (or a Prior to infer per-batch).
- proposal_prior
PriororNone,optional, default:None Prior from which to draw proposal values when a jump occurs. Falls back to a standard normal Prior if not provided.
- bounds
- Parameters:
Notes
At each step the process either stays at the previous value or jumps to an independent proposal sampled from proposal_prior.