Question: Given the following transaction database: Transaction id Items t1 {1, 3, 4, 6} t2 {2, 3, 5} t3 {1, 2, 3, 5} t4 {2, 5,}
Given the following transaction database:
Transaction id | Items |
t1 | {1, 3, 4, 6} |
t2 | {2, 3, 5} |
t3 | {1, 2, 3, 5} |
t4 | {2, 5,} |
t5 | {1, 2, 3, 5} |
t6 | {1, 2, 3, 5, 6} |
- What is the output of the Apriori algorithmrun on the previous transaction database with a minimum support of 50%?
- Generate all the association rules for the frequent 2-itemsets obtained in (a). Calculate the confidence for each of these rules.
- For the rules obtained in (b), calculate the lift for the rules with the highest three confidences.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
