Viewing the MovieLens Data
Familiarize yourself with the ratings dataset provided here. Would you consider the data to be implicit or explicit ratings?
Bu egzersiz, kursun bir parçasıdır
Building Recommendation Engines with PySpark
Egzersiz talimatları
- Look at the
.columnsof theratingsdataframe. - Look at the first few rows of
ratingsdataframe using the.show()method.
Uygulamalı etkileşimli egzersiz
Bu egzersizi bu örnek kodu tamamlayarak deneyin.
# Look at the column names
print(ratings.____)
# Look at the first few rows of data
print(ratings.____())