jesterTOV.inference.run_inference.run_sampling#
- run_sampling(sampler, seed, config, outdir, fixed_params=None)[source]#
Run MCMC sampling and create InferenceResult
- Parameters:
sampler (JesterSampler) – JesterSampler instance (FlowMC, BlackJAX NS, or BlackJAX SMC)
seed (int) – Random seed for sampling
config (InferenceConfig) – Configuration object
outdir (str or Path) – Output directory
fixed_params (dict[str, float] | None, optional) – Parameters pinned to constant values during inference.
- Return type:
- Returns:
InferenceResult – Result object containing samples, metadata, and histories