In: Computer Science
HW1. Consider the data set below.
Customer |
Items Bought |
Ayabakan |
bread, butter, soap |
Geng |
milk, butter |
Goyal |
peas, milk, soap |
Raman |
bread, peas, butter, soap |
Phan |
bread, peas, milk, soap |
Lamba |
bread, butter, soap |
Salinas-Ruiz |
peas, butter, soap |
Wang |
bread, peas, milk |
McGregor |
bread, milk, butter, soap |
Vo |
bread, peas, soap |
(a) For a minimum support threshold of 30%, apply the concept of the apriori algorithm and identify all the frequent itemsets. Show your analysis steps.
(b) Now, for a minimum confidence threshold of 50%, apply the concept of the apriori algorithm and identify all valid association rules. Show your analysis steps.