MulaiMulai sekarang secara gratis

Movie transactions

In the last exercises, you explored the movies_subset dataset and figured out that the userId column and the title column represent the user and the movie they've watched. Given what you've learned so far, you know that before going into the Market Basket Analysis toolkit and coming up with associations rules, you need to turn the dataset into the transactional class. This is a necessary step to perform the Market Basket Analysis with the arules package.

Latihan ini adalah bagian dari kursus

Market Basket Analysis in R

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Split dataset into movies and users
data_list = ___(movie_subset$___,
                movie_subset$___)
Edit dan Jalankan Kode