These functions produce predictions from the low-rank solution of softImpute
1 2 |
x |
a matrix with NAs or a matrix of class |
object |
an svd object with components u, d and v |
i |
vector of row indices for the locations to be predicted |
j |
vector of column indices for the locations to be predicted |
unscale |
if |
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 complete
might be too large.
Trevor Hastie
softImpute
, biScale
and Incomplete
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.