wrss
implements the objective function used by the
LS-NMF algorithm.
nmf_update.lsnmf(i, X, object, weight, eps = 10^-9, ...) wrss(object, X, weight)
nmfAlgorithm.lsNMF(..., .stop = NULL,
maxIter = nmf.getOption("maxIter") %||% 2000, weight,
eps = 10^-9, stationary.th = .Machine$double.eps,
check.interval = 5 * check.niter, check.niter = 10L)
X
by X *
weight
(= entry wise product). Weights are usually
specified as a matrix of the same dimension as X
(e.g. uncertainty estimates nmf_update.euclidean
).object