O'Reilly logo

Building a Recommendation System with R by Suresh K. Gorakala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Content-based filtering

Another popular branch of techniques is content-based filtering. The algorithms start with a description of items, and they don't need to take account of different users at the same time. For each user, the algorithms recommend items that are similar to its past purchases.

Here are the steps to perform a recommendation:

  1. Define item descriptions.
  2. Define user profiles based on purchases.
  3. Recommend to each user the items matching its profile

User profiles are based on their purchases, so the algorithms recommend items similar to past purchases.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required