| MatrixFactorizationRecommender | R Documentation | 
All matrix factorization recommenders inherit from this class
componentsitem embeddings
global_biasglobal mean (for centering values in explicit feedback)
global_bias_basePre-calculated '-(factors*global_bias)' (for centering values in implicit feedback when not using user/item biases)
predict()recommends items for users
MatrixFactorizationRecommender$predict( x, k, not_recommend = x, items_exclude = integer(0), ... )
xuser-item interactions matrix (usually sparse - 'Matrix::sparseMatrix').Users are rows and items are columns
knumber of items to recommend
not_recommenduser-item matrix (sparse) which describes which items method should NOT recomment for each user. Usually this is same as ‘x' as we don’t want to recommend items user already liked.
items_excludeeither integer indices or character identifiers of the items to not recommend to any user.
...not used at the moment
clone()The objects of this class are cloneable with this method.
MatrixFactorizationRecommender$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.