concept each user in category recommender system

appears as: each user
Practical Recommender Systems

This is an excerpt from Manning's book Practical Recommender Systems.

Depending on the specific algorithm, the system can calculate recommendations either by taking the items the user has liked and finding similar content, by comparing the items and user profiles, or, if there’s no user involved, by finding similar content between items. When there’s a user profile, the system calculates a profile for each user that contains categories of the content. If Netflix used content-based filtering, it could create a user profile of genres like thrillers, comedies, drama, and new films, and give values to them all. Then a film gets recommended if it has similar values as the user.

You need to make a recommender method that takes a list of ratings such that you can call it with the training part of the user’s ratings. But you already had that as shown in listing 10.14. The next thing to consider is how you want to divide each user’s data. Again, you can either do it so that you ensure that there’s always a certain amount of training data or always a certain number of test ratings. Or it could be a specific point. You can run the evaluation by executing the code in the following listing.

  • Evaluating content-based recommenders can be done by dividing each user’s ratings into training and testing data (as you learned in chapter 9). Then run through each user and calculate the recommendations to see if it produced something that was in the test set.
  • Figure 13.8. The algorithm creates an order matrix for each user. Five users are in the rating matrix and will generate five matrices.