Description Usage Arguments Value
This function takes descriptions of the target
and tuning parameters, and returns a list containing the keys
single_kernel
, coupled_kernel
corresponding to marginal
and coupled HMC kernels. These kernels can then be used in the function coupled_chains
.
1 | get_hmc_kernel(logtarget, gradlogtarget, stepsize, nsteps, dimension)
|
logtarget |
function to compute target log-density, e.g. see |
gradlogtarget |
function to compute gradient of target log-density, e.g. see |
stepsize |
step size in the leap-frog integrator |
nsteps |
number of leap-frog steps |
dimension |
dimension of the target distribution |
A list containing the keys
single_kernel
, coupled_kernel
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.