Calculating similarity

There are three fundamental approaches to calculating similarity, as follows:

  • Collaborative filtering algorithms take user ratings or other user behaviors and make recommendations based on what users with similar behaviors liked or purchased
  • The content-based algorithm uses the properties of the items to find items with similar properties
  • A hybrid approach combines collaborative and content-based filtering

Let's take a look at each approach in detail in the following sections.