hopsy.UniformCoordinateHitAndRunProposal#

class hopsy.UniformCoordinateHitAndRunProposal#

See https://doi.org/10.1093/bioinformatics/btx052. Rounding the problem using problem = hopsy.round(problem) is strongly advised for best performance.

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.

Methods