BaşlayınÜcretsiz Başlayın

What did Pulp Fiction influence?

Let's now take the problem differently. In terms of movie recommendations, suppose you have watched the Pulp Fiction and wonder which movie you should watch next. In other words, you want to know what movies did Pulp Fiction actually influence. If users watch Pulp Fiction, which movies are they most likely going to watch next? The transactional dataset movie_trx is loaded in the workspace.

Bu egzersiz

Market Basket Analysis in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Extract rules with Pulp Fiction on the left side
pulpfiction_rules_lhs = apriori(movie_trx, 
                           parameter = list(supp = 0.3,
                                            conf = 0.5), 
                           appearance = list(
                             ___ = "___",
                             ___ = "___"))

# Summary of extracted rules
___(___)
Kodu Düzenle ve Çalıştır