telescopic.kernels

Markov kernels with their couplings.

Classes

Draws

Random numbers for a set of chains: row i of every request belongs to chain i.

Gibbs

A Gibbs sampler that draws blocks of coordinates from their full conditionals.

HMC

Hamiltonian Monte Carlo with a random-walk meeting step.

Independence

Independence Metropolis-Hastings.

IndependenceProposal

The independence proposal \(x' \sim q\), whatever the current state.

Kernel

A Markov kernel with its coupling.

LangevinProposal

The Langevin proposal \(x' = x + B(h/2 + z)\), with \(h = B^\top\nabla\log\pi(x)\).

MALA

The Metropolis-adjusted Langevin algorithm.

MetropolisHastings

A Metropolis-Hastings kernel from a proposal, coupled by a coupling of that proposal.

Mixture

A mixture of kernels.

MultivariateT

Multivariate Student-\(t\) proposal with location mean, scale cov, df.

Proposal

A Metropolis-Hastings proposal for a batch of chains: its draw, its evaluation and its log acceptance ratio.

RandomWalk

Random-walk Metropolis-Hastings with a Gaussian proposal.

RandomWalkProposal

The Gaussian random-walk proposal \(x' = x + Bz\), \(z \sim \mathcal N(0, I)\).

State

The states of n chains, batch first: positions, log-densities, gradients, fields.