Get startedGet started for free

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.

This exercise is part of the course

Market Basket Analysis in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Have a glimpse at the dataset
___ %>% ___
Edit and Run Code