Exercise

Parameters of the apriori

The apriori() algorithm requires some input arguments such as the minimum support threshold and confidence levels. It is important to figure out how sensitive the set of extracted rules is to these parameters. In this exercise, you will use the transactions of the Online retail dataset Online_trx and apply the apriori() algorithm with different values for the input parameters.

Instructions 1/3

undefined XP
  • 1
    • Apply the apriori() function with minimum support of 0.01 and confidence of 0.8. Inspect the first rules.
  • 2
    • Modify the apriori() function such that the minimum support is 0.1. Inspect the first rules.
  • 3
    • Modify the apriori() function such that the minimum confidence is 0.9. Inspect the first rules.