make predictions from an svd object
These functions produce predictions from the low-rank solution of
a matrix with NAs or a matrix of class
an svd object with components u, d and v
vector of row indices for the locations to be predicted
vector of column indices for the locations to be predicted
impute returns a vector of predictions, using the reconstructed
low-rank matrix representation represented by
object. It is used by complete,
which returns a complete matrix with all the missing values imputed.
Either a vector of predictions or a complete matrix. WARNING: if
x has large dimensions, the matrix returned by
might be too large.
1 2 3 4 5 6 7 8 9 10 11 12 13
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.