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

Confirm understanding of latent features

Matrix P is provided here. Its columns represent movies and its rows represent several latent features. Use your understanding of Spark commands to view matrix P and see if you can determine what some of the latent features might represent. After examining the matrix, look at the dataframe Pi, which contains a rough approximation of what these latent features could represent. See if you weren't far off.

Bu egzersiz

Building Recommendation Engines with PySpark

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

Egzersiz talimatları

  • Examine matrix P using the .show() method.
  • Examine matrix Pi using the .show() method.

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Examine matrix P using the .show() method
P.____()

# Examine matrix Pi using the .show() method
Pi.____()
Kodu Düzenle ve Çalıştır