CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Market Basket Analysis in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Have a glimpse at the dataset
___ %>% ___
Modifier et exécuter le code