Let's look at modeling options for the recommendation system.

The ranking model takes the top candidates from multiple sources of candidate generation that we have discussed. Then, an ensemble of all of these candidates is created, and the candidates are ranked with respect to the chance of the user watching that video content.

Here, your goal is to rank the content based on the probability of a user watching a media given a user and a candidate media, i.e., P(watch|(User, Media)).

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.