Reference / binference.samplers.Engine
binference.samplers.Engine¶
- class binference.samplers.Engine(model, *, rng=None, progress=False)[source]¶
Base class of all inference engines.
Engines are configured at construction and executed with
run(), which returns aPopulationResult(or aPointEstimateforMAP).- Parameters:
- modelPopulationModel
The model to infer.
- rngint, numpy.random.Generator, or None
Random number generator.
- progressbool
Show a progress bar.
Methods
__init__(model, *[, rng, progress])run(*args, **kwargs)unsupported(model)Why the engine cannot run on
model, orNonewhen it can.Attributes
approximatewhether the engine infers a selection from injections or a tallied response jointly (DECISIONS #30, #80, #81)
whether its draws are Markov chains, described by R-hat and ESS
name- joint = False¶
whether the engine infers a selection from injections or a tallied response jointly (DECISIONS #30, #80, #81)
- markov = False¶
whether its draws are Markov chains, described by R-hat and ESS