BaşlayınÜcretsiz Başlayın

Introduction to non-personalized recommendations

One of the most basic ways to make recommendations is to go with the knowledge of the crowd and recommend what is already the most popular. In this exercise, you will calculate how often each movie in the dataset has been watched and find the most frequently watched movies.

The DataFrame user_ratings_df, which is a subset of the Movie Lens dataset, has been loaded for you. This table contains identifiers for each movie and the user who watched it, along with the rating they gave it.

Bu egzersiz

Building Recommendation Engines in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Get the counts of occurrences of each movie title
movie_popularity = ____["title"].____()

# Inspect the most common values
print(movie_popularity.____().____)
Kodu Düzenle ve Çalıştır