Closed gil2rok closed 1 year ago
Hi @gil2rok - this looks like it is marking a lot of files as edited that weren't really. Do you think it would be reasonable to start a fresh branch off main
and copy over your changes into that? If it's just a couple files that actually changed it shouldn't be too bad, and makes this much easier to review
Yeah, I can do that.
This pull request is too messy. I made a new branch, drghmc, and created a new pull request #39 instead.
Sampler and (basic) tests for Delayed Rejection Generalized HMC (DrGhmc).
It allows for probabilistic DrGhmc, setting the number of proposals, the dampening factor, etc. Code is well-documented and tries to be as readable as possible. The DrGhmc signature attempts to mimic Hmc as close as possible. I incorporate the types @WardBrian just added.
FYI: My commit history is likely very messy because I struggled to properly pull in the recent type changes from the main branch.