Description Usage Arguments Value
Samples the auxiliary variables (Z or Z,C) using a collapsed Gibbs sampler.
1 2 | BernoulliNMF(V, K = K, model = "DirBer", method = "Gibbs", alpha = 1,
beta = 1, gamma = 1, iter = 1000, burnin = 0.5)
|
V |
Observed matrix with FxN dimensions |
K |
Number of latent dimensions |
alpha |
parameter for the Beta distribution |
beta |
parameter for the Beta distribution |
gamma |
parameter for the Dirichlet distribution |
iter |
number of Gibbs samples |
burnin |
proportions of initial samples that are ignored for burnin |
FxNxJ arrays with samples from the variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.