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_densityReturns whether the proposal knows about the log density or not.
has_negative_log_likelihooddeprecated:: 1.4 Use
has_log_densityinstead.log_acceptance_probabilitynameproposalproposal_log_densityReturns the log density of the proposal.
proposal_negative_log_likelihooddeprecated:: 1.4 Use -
proposal_log_densityinstead.statestate_log_densityReturns the log density of the current state of the proposal.
state_negative_log_likelihooddeprecated:: 1.4 Use -
state_log_densityinstead.stepsizeMethods