FrobError | R Documentation |
Returns a data.frame with factorization ranks in the columns, and the Frobenius error for every NMF initialization in the rows.
FrobError(x, ...) ## S4 method for signature 'ButchR_NMF' FrobError(x, ...) ## S4 method for signature 'ButchR_integrativeNMF' FrobError(x, ...) ## S4 method for signature 'ButchR_joinNMF' FrobError(x, ...)
x |
an object of class ButchR_NMF, ButchR_joinNMF, or ButchR_integrativeNMF. |
... |
additional parameters. |
data.frame with Frobenius errors
data("leukemia") nmf_exp <- run_NMF_tensor(leukemia$matrix, ranks = 2, method = "NMF", n_initializations = 2) FrobError(nmf_exp) ## Not run: data("leukemia") nmf_exp <- run_NMF_tensor(leukemia$matrix, ranks = 2:10, method = "NMF", n_initializations = 2) FrobError(nmf_exp) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.