Make HMC/MALA compatible with population MCMC #1599
ben18785
started this conversation in
Ideas/Science
Replies: 1 comment
-
Hi @ben18785 ! Thanks for the overview! The third step isn't possible without breaking ask-and-tell. It would require the ask-complete method to do its own logpdf evaluations, which is explicitly the thing we're trying to avoid. Instead, the popmcmc class would simply have to return None as well every time the internal method returns None. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
set_method(pints.HamiltonianMCMC)
here to use say HMC to sample from the various tempered distributions.set_method
method for this class.self._needs_initial_phase:
to be changeable dependent on MCMC method we useNone
).The first two of these require changes to the PopulationMCMC class, the latter may be best handled by adding a method to HMC (I envision using complete iterations of HMC as intermediary distribution for quite a few cases). How about something like:
ask_complete()
andtell_complete()
? I also like this idea as mostly users won't want the intermediate steps of HMC but the actual proposed values.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions