Suppose we are given the eight "market baskets" of Fig. 22.3.

a) As a percentage of the baskets, what is the support of the set {beer, juice}?
b) What is the support of the itemset {coke, pepsi}?
c) What is the confidence of milk given beer (i.e., of the association rule {beer} => milk)?
d) What is the confidence of juice given milk?
e) What is the confidence of coke, given beer and juice?
f) If the support threshold is 37.5% (i.e., 3 out of the eight baskets are needed), which pairs of items are frequent?
g) If the support threshold is 50%, which pairs of items are frequent?
h) W hat is the most interesting association rule with a singleton set on the left?