beanmachine.ppl.inference.proposer.single_site_ancestral_proposer module
- class beanmachine.ppl.inference.proposer.single_site_ancestral_proposer.SingleSiteAncestralProposer(target_rv: beanmachine.ppl.model.rv_identifier.RVIdentifier)
Bases:
beanmachine.ppl.inference.proposer.base_single_site_mh_proposer.BaseSingleSiteMHProposer
- get_proposal_distribution(world: beanmachine.ppl.world.world.World) torch.distributions.distribution.Distribution
Propose a new value for self.node using the prior distribution.