DynamicHMC.jl icon indicating copy to clipboard operation
DynamicHMC.jl copied to clipboard

Make mcmc and warmup also return logdensity_vector.

Open tpapp opened this issue 2 months ago • 2 comments

Fixes #193.

TODO:

  • [ ] tests
  • [ ] documentation

tpapp avatar Nov 14 '25 17:11 tpapp

@astrozot, this is a quick fix, I will finish this PR after the weekend (I am away from my computer), but you can use it. mcmc now returns a logdensity_vector, for the log densities. Until this is merged and released, just

pkg> add DynamicHMC#tp/log-density-in-tree-statistics

in your project. Let me know if I can help with anything else.

tpapp avatar Nov 14 '25 17:11 tpapp

Thank you again @tpapp: I will wait for your merge, as I need to fix a few other things in my code anyway...

astrozot avatar Nov 14 '25 21:11 astrozot