sample_metropolis_h_reparam: sample h_n given all the other h in the same column with...

Usage Arguments

View source: R/sample_metropolis.R

Usage

1
2
sample_metropolis_h_reparam(v_n, W, h_n_current, alpha = 1, beta = 1,
  step = 1, iter = 100)

Arguments

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")


alumbreras/MMLE-GaP documentation built on May 18, 2019, 2:37 a.m.