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

Playing with the appearance

In this exercise, you will be playing with the appearance argument of the apriori function. As its name suggests, this arguments of the function controls, on the one hand, the items that are part of the frequent itemsets and, on the other hand, the appearance of the set of extracted rules. It is often the case that you are looking for specific itemsets or specific rules within the set of all extracted rules.

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.

# Support of herb markers
supp_herb_markers = 
  apriori(Online_trx, 
          parameter = list(
            ___ = "___",
            supp = 0.01),
          appearance = list(
            ___ = c("___",
                    "___"))
  )

# Inspect frequent itemsets
inspect(___)
Kodu Düzenle ve Çalıştır