Session Ready
Exercise

The support measure

In the last exercise, you dug into the several transactions of the Online_trx dataset. Now it's time for you to figure out the support metrics of a few specific items.

Previously, you already found the number of transactions containing the HERB MARKER ROSEMARY item. In this exercise, you will find the support of that same product alongside the HERB MARKER THYME item at different support thresholds using the apriori() function of the arules package.

The transactional object Online_trx is loaded in the workspace.

Instructions 1/3
undefined XP
  • 1

    Determine the support of the two items with a minimum support value of 0.1. Summarize the results.

    • 2

      Determine the support of the two items with a minimum support value of 0.01. Inspect the itemsets.

    • 3

      Inspect the five most frequent itemsets when setting the minimum support to 0.01.