- At the moment, we don't have any methods to change the MCMC method within populationMCMC.
- It would be great if a user could specify
set_method(pints.HamiltonianMCMC) here to use say HMC to sample from the various tempered distributions.
- This would require however that:
- We create a
set_method method for this class.
- We have a method to modify if
self._needs_initial_phase: to be changeable dependent on MCMC method we use
- We would need to modify ask/tell to allow for a complete iteration of HMC (so that it actually returns a proposal rather than
None).
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() and tell_complete()? I also like this idea as mostly users won't want the intermediate steps of HMC but the actual proposed values.
Thoughts?
set_method(pints.HamiltonianMCMC)here to use say HMC to sample from the various tempered distributions.set_methodmethod 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?