Non-personalized Recommendation in rrecsys

The included baseline recommendation methods are the global mean rating (Global Average), item’s mean rating (Item Average), user's mean rating (User Average), as well as an the Most Popular Item Recommendation method that recommends to all users the items that are most popular.

To train a model for the rating prediction task we use the following commands:

d <- defineData(ml100k)
e <- evalModel(d, folds = 2)

globAv <- evalPred(e, alg = "globalaverage")

# Algorithm names might be matched on the registry partially.
itemAv <- evalPred(e,  "itemAver")
userAv <- evalPred(e,  "useraverage")

Please notice that the baseline recommenders do not require any other argument.

The returned object are of type algAverageClass.

To get more details about the slots read the reference manual.