View source: R/sample_hamiltonian.R
1 2 | sample_hamiltonian_h(v_n, W, h_n_current, epsilon = 0.1, L = 10,
iter = 100, alpha, beta)
|
v_n |
n-th column of matrix V (F x 1) |
W |
dictionary matrix (F x K) |
h_n_current |
(K x 1) initial value h_n (n-th column of matrix H) |
epsilon |
length of each Hamiltonian step |
L |
number of Hamiltonian steps at each iteration ("path length") |
iter |
number of samples (or "iterations") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.