Closed violet-sto closed 1 year ago
Hi,
The code for compute MH is: update_dist = torch.distributions.Bernoulli(logits=lp_update + delta_logp_traj)
Is this inconsistent with the formula p=min(1, exp(lp_update+delta_logp_traj))
Hi,
The code for compute MH is: update_dist = torch.distributions.Bernoulli(logits=lp_update + delta_logp_traj)
Is this inconsistent with the formula p=min(1, exp(lp_update+delta_logp_traj))