View source: R/sample_metropolis.R
1 2 | sample_metropolis_gaussian_h(v_n, W, h_n_current, alpha = 1, beta = 1,
step = 1, iter = 100)
|
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) |
alpha |
parameter alpha |
beta |
parameter beta |
step |
step size for the proposal distribution |
iter |
number of samples (or "iterations") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.