superstats.transition.stochastic.levy_flight#
Lévy-flight transition models.
Classes
|
Lévy-flight transition with alpha-stable noise and optional drift. |
- class superstats.transition.stochastic.levy_flight.LevyFlight(bounds=None, initial_prior=None, sigma=None, delta=None, alpha=None, beta=None)[source]#
Bases:
StochasticTransitionLévy-flight transition with alpha-stable noise and optional drift.
Like a random walk, but the Gaussian increments are replaced with alpha-stable increments, introducing a stability index alpha that controls tail heaviness. alpha=2 recovers Gaussian-like behavior; smaller alpha produces heavy-tailed jumps.
- 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.
- sigma
floatorPriororNone,optional, default:None Scale of the alpha-stable increments.
- delta
floatorPriororNone,optional, default:None Additive drift term.
- alpha
floatorPriororNone,optional, default:None Stability index in (0, 2] controlling tail heaviness.
- beta
floatorPriororNone,optional, default:None Skewness in [-1, 1]. Defaults to 0 (symmetric) if left unset.
- bounds
- Parameters:
Notes
The sample method returns a dict with keys local_params, hyper_params and fixed_params. Use sample_one_step to advance a single time-step given numeric params.