Session Ready
Exercise

Popularity of movies

In the last lesson, you explored the transactional dataset of movies. In this exercise, you will figure out the popularity of movies watched from the same dataset. So, aren't you curious to figure out the list of items that are the most popular in the transactional dataset movie_trx?

Instructions 1/3
undefined XP
  • 1
    • Using the apriori() function, find out the 5 most popular movies with a minimum support threshold set to 0.4.
    • 2
      • Using the apriori() function, find out the 5 most popular itemsets for a minimum support of 0.3 and minimum size of 2.
    • 3
      • Using the apriori function, find out the 5 least popular itemsets for a minimum support of 0.3 and minimum size of 2.