Question 4: Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bough
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Question 4: Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bough
Question 4: Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bought 001 {A, B, C) 002 {A, D, C) 003 {A, D, F, C) 004 {A, B, C) 005 (A, D, B, C) 006 {A, D, F} 007 {A, F, B, C) 008 {F, B} 009 {D, F, C) 010 {D, B, C) a) Assuming minimum support=0.6, use the Artiori algorithm to generate all the association rules for the frequent 2-itemsets. Calculate the confidence for these rules (Round to 3 decimal places). (4.5 marks) b) For the rules obtained in (a), calculate the lift for the rules with the highest confidence. (0.5 mark)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!