evaluate | R Documentation |
Calculate mean squared error for an NMF model, accounting for any masking schemes requested during fitting.
evaluate(x, ...)
## S4 method for signature 'nmf'
evaluate(x, data, mask = NULL, missing_only = FALSE, ...)
x |
fitted model, class |
... |
development parameters |
data |
dense or sparse matrix of features in rows and samples in columns. Prefer |
mask |
dense or sparse matrix of values in |
missing_only |
calculate mean squared error only for missing values specified as a matrix in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.