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.
Deze oefening maakt deel uit van de cursus
Market Basket Analysis in R
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Have a glimpse at the dataset
___ %>% ___