Description Usage Arguments Value

Outputs the predictions for the whole input matrix to which the model was fit. Note that this will be a dense matrix, and in typical recommender systems scenarios will likely not fit in memory.

1 | ```
get.all.predictions(model)
``` |

`model` |
A Poisson factorization model as output by function 'poismf'. |

A matrix [dimA x dimB] with the full predictions for all rows and columns. If the 'X' data passed to 'poismf' was a 'data.frame', the resulting output will have row and column names added to it. Be aware that, if 'X' was a 'data.frame' with integers as IDs, selecting columns or rows of the named matrix will output ordinal positions - e.g. 'out[2,]' (second row) vs. 'out["2",]' (row for ID=2 in 'X'). The mappings, if produced, can be obtained through function get.model.mappings.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.