Aan de slagGa gratis aan de slag

Combining popularity and reviews

In the past two exercises, you have used the two most common non-personalized recommendation methods to find movies to suggest. As you may have noticed, they both have their weaknesses.

Finding the most frequently watched movies will show you what has been watched, but not how people explicitly feel about it. However, finding the average of reviews has the opposite problem where we have customers' explicit feedback, but individual preferences are skewing the data.

In this exercise, you will combine the two previous methods to find the average rating only for movies that have been reviewed more than 50 times.

Deze oefening maakt deel uit van de cursus

Building Recommendation Engines in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Create a list of only the frequently watched movies
movie_popularity = ____["title"].____()
popular_movies = ____[____ > 50].____

print(popular_movies)
Code bewerken en uitvoeren