hopsy.TruncatedGaussianProposal#

class hopsy.TruncatedGaussianProposal#

This is a gibbs sampler for constrained Gaussians, see https://doi.org/10.1093/bioinformatics/btz315.

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