NUTSTransitionInfo
NUTSTransitionInfo#
- class liesel.goose.nuts.NUTSTransitionInfo(error_code, acceptance_prob, position_moved, divergent, turning, treedepth, leapfrog)[source]#
Bases:
liesel.goose.kernel.DefaultTransitionInfo
Methods
minimize
()Minimizes the transitioninfo.
Attributes
Dict of error codes and their meaning.
Acceptance probability of the transition.
Indicates whether the transition resulted in acceptance or not.
Whether the difference in energy between the original and the new state exceeded the divergence threshold of 1000.
Whether the expansion was stopped because the trajectory started turning.
The tree depth, that is, the number of times the trajectory was expanded.
The number of computed leapfrog steps.