hopsy.GaussianCoordinateHitAndRunProposal#
- class hopsy.GaussianCoordinateHitAndRunProposal#
Mix of https://doi.org/10.1093/bioinformatics/btx052 and https://deepblue.lib.umich.edu/bitstream/handle/2027.42/3513/bal7884.0001.001.pdf. Works well when sampling a density that aligns with the coordinate directions.
Attributes
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
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.stepsize
Methods