simulateNMF | R Documentation |
Generate a random matrix that follows some defined NMF model to test NMF factorizations. Adapts methods from NMF::syntheticNMF
.
simulateNMF(nrow, ncol, k, noise = 0.5, dropout = 0.5, seed = NULL)
nrow |
number of rows |
ncol |
number of columns |
k |
true rank of simulated model |
noise |
standard deviation of Gaussian noise centered at 0 to add to input matrix. Any negative values after noise addition are set to 0. |
dropout |
density of dropout events |
seed |
seed for random number generation |
list of dense matrix A
and true w
and h
models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.