Description Usage Arguments Value See Also
Predict expected count for new row(user) and column(item) combinations
1 2 
object 
A Poisson factorization model as returned by 'poismf'. 
a 
Can be either:

b 
A vector of length N with the items/columns to predict  each entry will be matched to the corresponding entry at the same position in 'a'  e.g. to predict value for entries (3,4), (3,5), and (3,6), should pass 'a=c(3,3,3), b=c(3,5,6)'. If 'X' passed to 'poismf' was a 'data.frame', should match with the entries in its second column. If 'X' passed to 'poismf' was a matrix, should indicate the column numbers (numeration starting at 1). If 'a' is a sparse matrix, should not pass 'b'. 
... 
Not used. 
If 'a' and 'b' were passed, will return a vector of length N with the predictions for the requested row/column combinations.
If 'b' was not passed, will return a sparse matrix with the same entries and shape as 'a', but with the values being the predictions from the model for the nonmissing entries.
poismf topN factors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.