nmf_mmle_mcem: NMF with MMLE

Usage Arguments Details Value

View source: R/MMLE_MCEM.R

Usage

1
2
3
nmf_mmle_mcem(V, initW, maxiters = 100, nsamples = 50, algo = "gibbs",
  mincrease = "constant", alpha = 1, beta = 1, mstep = "C",
  mult_updates = 1, saem = FALSE, L = 10, epsilon = 0.5, burnin = 0.5)

Arguments

V

matrix to be factorized

maxiters

maximum number of iterations

nsamples

number of samples per iteration in the E-step

K

number of latent factors (or dimensions)

W

initial matrix W

mc

mcem or saem.

Details

The number of iterations is set to maxiters. In the future, there should be a convergence check in case the KL converges before maxiters.

If saem is used, then the number of samples gradually increases until reaching nsamples for the last iterations

Value

W last estimator of W traces$H: a K x N x samples tensor traces$W: a K x samples - matrix vector with the evolution of row norms


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