Description Usage Arguments Value
Run one HMC chain
1 | hmc.run(log_prob, hamiltonian, x0, iter, step_size)
|
log_prob |
a function that takes input |
hamiltonian |
a function that takes as input the location and momentum and returns their time derivatives |
x0 |
initial value |
iter |
number of iterations |
step_size |
leapfrog step size |
a list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.