1. Learn
  2. /
  3. Courses
  4. /
  5. Market Basket Analysis in R

Exercise

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.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Have a glimpse at the dataset to figure out the field that is related to the user and the one related to the product.