To get a clearer picture of your problem, I suggest you read the following: “ recommendation: the basis for developing and testing recommendation algorithms ”
Why the list of the top 5 "j89" "j72" "j47" "j93" "j76"
You use the popularity method, which means that you select the list of the top 5, based on the most rated elements (counting the number of saves), and not on the highest predicted rating.
How does recenderlab calculate the ratings of each item in ratingMatrix? And how does he create a TopN list?
Predicted rating, recommanderlab calculates them using conventional distance methods (it is not yet clear if it is pearson or cosine, I did not have the opportunity to check this), then it determines the rating, as suggested by Breeseet al. (1998), the average rating plus a weighted coefficient calculated in the neighborhood, you can consider the entire set of training sessions as the neighborhood of any user, so the predicted ratings for any user on the same element will have the same value.
My best. L
source share