RunNMF: Runs NMF decomposition on a data matrix: A = WH.

Description Usage Arguments Value

View source: R/nmf.R

Description

Runs NMF decomposition on a data matrix: A = WH.

Usage

1
2
RunNMF(A, k, alpha = 0, init = "ica", n.cores = 1, loss = "mse",
  max.iter = 500, ica.fast = F)

Arguments

A

Input data matrix

k

Number of NMF factors

alpha

Regularization parameter

init

Initialization method: ica, nnsvd, or random.

n.cores

Number of cores

loss

Type of loss function to use

max.iter

Maximum number of iterations

ica.fast

If using default ICA initialization, run PCA first to speed up ICA

n.rand.init

If random initialization is used, number of random restarts

Value

List of W (features x factors) and H (factors x samples)


yanwu2014/swne documentation built on Dec. 18, 2018, 2:39 a.m.