Closed Red-Portal closed 4 years ago
This looks great, thanks @Red-Portal! I'll review the PR later today.
Are you able to write a few tests for future stability, please?
@thomaspinder I'll do that once I have time to spare. I guess about next week or so!
No problem @Red-Portal!
Hi @Red-Portal. Have you had a chance to look at this? I have some time this week so can help to get this pull request through.
Hi @thomaspinder , I'm sorry, I didn't have time to work on it. I'll surely work on this at the weekend.
Sure @Red-Portal. If you need help with anything, then just let me know.
Also, just make sure you're working from the current version as GPMC
has been deprecated in favour of GPA
.
Implemented the elliptical slice sampler (ESS) as described in,
I named the function as
ess
but please change it accordingly. I think changingmcmc
tohmc
would be more an appropriate but breaking change? To implement sampling from the hyperparameter priors, I addedsample_params
in bothGPE.jl
andGPMC.jl
I didn't have the time to benchmark against HMC but I believe ESS is much more efficient. Also, ESS doesn't have any hyperparameters so it's pretty easy to use.I have one question though, why
post
inhmc
is row-major while the adjoint is returned? I think declaring it in column-major order would be more efficient and cleaner.