Question: Compute the support for itemsets {P}, {Q, S}, and {P, Q, S} by considering each TID as a market basket. b. Use the results
Compute the support for itemsets {P}, {Q, S}, and {P, Q, S} by considering each TID as a market basket. b. Use the results in a. to compute the confidence for the association rules (QSP), and (P QS). Is confidence a symmetric measure? c. Assuming minimum support=0.4, use the Apriori algorithm to generate all the frequent itemsets. d. Generate all the association rules for the frequent 2-itemsets obtained in c. Calculate the confidence for the rules. TID | Items bought 0001 | {P, S, T} 0003 [P, Q, R, T} 0010 | {P, Q, S, T} 0013 I{P, R, S, T} 0022 IQ, R, T} 0028 {Q, S, T} 0029 | {R, S} 0030 {P, Q, R} 0037 [P, S, T} 0051 I {P, Q, T}
Step by Step Solution
3.41 Rating (154 Votes )
There are 3 Steps involved in it
Lets go step by step through each part of the question a Compute the support for itemsets P Q S and P Q S by considering each TID as a market basket T... View full answer
Get step-by-step solutions from verified subject matter experts
