TransitionInfo#

class liesel.goose.types.TransitionInfo(*args, **kwargs)[source]#

Bases: Protocol

Holds information about MCMC transitions.

Methods

minimize()

rtype

DefaultTransitionInfo

Attributes

error_code

An error code defined in the error book of the kernel.

acceptance_prob

The acceptance probability of a proposal of a Metropolis-Hastings kernel or the average acceptance probability across a trajectory of a NUTS-type kernel.

position_moved

0 if the position did not move during the transition, 1 if it did move, and 99 if unknown.