hopsy.ReversibleJumpProposal#

class hopsy.ReversibleJumpProposal#

This is the implementation of the algorithm described in https://pubmed.ncbi.nlm.nih.gov/31214716/.

Attributes

activation_probability

deactivation_probability

has_log_density

Returns whether the proposal knows about the log density or not.

has_negative_log_likelihood

deprecated:: 1.4 Use has_log_density instead.

log_acceptance_probability

model_jump_probability

name

proposal

proposal_log_density

Returns the log density of the proposal.

proposal_negative_log_likelihood

deprecated:: 1.4 Use -proposal_log_density instead.

state

state_log_density

Returns the log density of the current state of the proposal.

state_negative_log_likelihood

deprecated:: 1.4 Use -state_log_density instead.

Methods