# make predictions from an svd object

### Description

These functions produce predictions from the low-rank solution of `softImpute`

### Usage

1 2 |

### Arguments

`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 |

### Details

`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.

### Value

Either a vector of predictions or a complete matrix. WARNING: if
`x`

has large dimensions, the matrix returned by `complete`

might be too large.

### Author(s)

Trevor Hastie

### See Also

`softImpute`

, `biScale`

and `Incomplete`

### Examples

1 2 3 4 5 6 7 8 9 10 11 12 13 |