Gettting familiar with the MovieLens dataset
Now that you're equipped with the Market Basket Analysis toolkit, you're going to apply what you've learned on the MovieLens data to build movie recommendations based on what movies users consume. In this exercise, you will get familiar with movie_subset dataset, which is a subset of the MovieLens data.
You will first start getting familiar with the dataset by extracting the unique number of user IDs and movie IDs with the n_distinct() function, and plot a distribution of movie watching habits with the help of the summarize() function.
Latihan ini adalah bagian dari kursus
Market Basket Analysis in R
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
# Have a glimpse at the dataset
___ %>% ___