API Reference

This reference gives details about the API of modules, classes and functions included in pyLFI.

pylfi.inferences: Inference schemes

Approximate Bayesian Computation

inferences.ABCBase

Base class for Approximate Bayesian Computation algorithms.

inferences.RejABC

Class implementing the rejection ABC algorithm.

inferences.MCMCABC

Class implementing the MCMC ABC algorithm.

pylfi.priors: Prior distributions

priors.Prior

Initialize a prior.

pylfi.utils: Utility functions

utils.check_and_set_jobs

Check and set passed number of jobs.

utils.distribute_workload

Distribute workload between workers.

utils.generate_seed_sequence

Process a user-provided seed and convert it into initial states for parallel pool workers.

utils.advance_PRNG_state

Advance the underlying PRNG as-if delta draws have occurred.

pylfi.journal: Journal class

journal.Journal

Journal class.