By: Tamás K. Papp
Re-posted from: https://tamaspapp.eu/post/2019-07-25-psa-dhmc-api-change/
The API of LogDensityProblems and DynamicHMC is being redesigned (issues: DynamicHMC#30, LogDensityProblems#45). This is necessary to address some issues related to ease of use, debugging, robustness, adaptation, and better integration with some advanced AD packages like Zygote.
Once the changes are complete, I will post a detailed writeup for the transition. But in the meantime, if you are using my MCMC libraries, you may want to pin versions, or put the following in your Project.toml
‘s [compat]
section (you only need the [compat]
if there isn’t one):
[compat]
DynamicHMC = "^1.0.5"
LogDensityProblems = "^0.8.3"
For more information, please refer to the Pkg docs.