Suppose there are 100 items, numbered 1 to 100, and also 100 baskets, also numbered 1 to 100. Item i is in basket b if and only if i divides b with no remainder. Thus, item 1 is in all the baskets, item 2 is in all fifty of the even-numbered baskets, and so on. Basket 12 consists of items {1, 2, 3, 4, 6, 12}, since these are all the integers that divide 12. Answer the following questions: a. If the support threshold is 5, which items are frequent? (4 marks) b. What is confidence when the association rule is {5, 7} → 2 (2 marks) c. Considering the support threshold as 4, what are the candidate item sets for size 2 (pairs) (i.e., C2) while applying the A-Priori Algorithm. (2 marks)
Suppose there are 100 items, numbered 1 to 100, and also 100 baskets, also numbered 1 to 100. Item i is in basket b if and only if i divides b with no remainder. Thus, item 1 is in all the baskets, item 2 is in all fifty of the even-numbered baskets, and so on. Basket 12 consists of items {1, 2, 3, 4, 6, 12}, since these are all the integers that divide 12.
Answer the following questions:
a. If the support threshold is 5, which items are frequent? (4 marks)
b. What is confidence when the association rule is {5, 7} → 2 (2 marks)
c. Considering the support threshold as 4, what are the candidate item sets for size 2 (pairs) (i.e., C2) while applying the A-Priori
Trending now
This is a popular solution!
Step by step
Solved in 2 steps