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

Implicit vs. explicit data

As mentioned in the video exercise, feedback used in recommendation engines can be explicit or implicit.

The dataset listening_history_df has been loaded for you. This dataset contains columns identifying the users, the songs they listen to, along with:

  • Skipped Track: A Boolean column recording whether the user skipped the song or listened to it to the end.
  • Rating: The score out of 10 the user gave the song.

In this exercise, you will explore the data and from this exploration identify which columns best reflect explicit feedback versus implicit feedback.

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.

# Inspect the listening_history_df DataFrame
print(listening_history_df.____())

# Calculate the number of unique values
print(listening_history_df[['Rating', 'Skipped Track']].____())

# Display a histogram of the values in the Rating column
listening_history_df['Rating'].____()
plt.show()
Kodu Düzenle ve Çalıştır