bayesbay.exceptions.InvalidProposalException

exception bayesbay.exceptions.InvalidProposalException

Exception indicating that a proposed model has zero posterior probability.

Users may raise this exception from a perturbation, forward function, or custom prior when the proposed state is well formed but deliberately deemed inadmissible. Markov chains treat it as a normal rejected proposal, including the corresponding self-transition in the chain history.