Description Usage Arguments Value Examples
This package provides functions for opnmf factorization, initialization, and rank election using R and Rcpp code
1 2 3 4 5 6 7 8 9 10 11 |
X |
A matrix, rows are the number of features and columns are number of samples |
r |
A number, rank used for factorization. |
W0 |
A string or matrix for initialization (default NULL) |
max.iter |
A number, number of iterations before stopping (default 50000) |
tol |
A number, convergence tolerance (default 1e-5) |
memsave |
A logical, if TRUE update rule is modified to better deal with high dimensional data (default TRUE) |
eps |
A number, (default 1e-16) |
use.gpu |
A logical, conduct factorizatio on GPUs using gpuR (default FALSE) |
A list containing the approximation matrices W and H, of input matrix X; the interation number at which a solution was found; the reconstruction error
1 | result <- opnmfR()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.