Description Usage Arguments Value
This function perform a leapfrog step. This function is a modified version of Leapfrog in the paper. It returns etra values: log posterior value and gradient of log posterior at the new position theta.tilde
This function performs a leapfrog step. This function is a modified version of Leapfrog in the paper. It returns extra values: log posterior value and gradient of log posterior at the new position theta.tilde
1 2 3 |
theta |
starting position |
r |
starting momentum |
epsilon |
step size |
L |
callable function: returns the value of log posterior and the gradient of log posterior prbability at given input |
theta |
starting position |
r |
starting momentum |
epsilon |
step size |
L |
callable function: returns the value of log posterior and the gradient of log posterior probability at given input |
the list of updated theta, r and the log posterior value at the updated point
the list of updated theta, r and the log posterior value at the updated point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.