nmfCheck | R Documentation |
nmfCheck
enables to quickly check that a given NMF
algorithm runs properly, by applying it to some small
random data.
nmfCheck(method = NULL, rank = max(ncol(x)/5, 3),
x = NULL, seed = 1234, ...)
method |
name of the NMF algorithm to be tested. |
rank |
rank of the factorization |
x |
target data. If |
seed |
specifies a seed or seeding method for the computation. |
... |
other arguments passed to the call to
|
the result of the NMF fit invisibly.
# test default algorithm
nmfCheck()
# test 'lee' algorithm
nmfCheck('lee')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.