Question: 002 005 006 Question (C4): Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bought 001 {A, B, C)

002 005 006 Question (C4): Given the following

002 005 006 Question (C4): Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bought 001 {A, B, C) {A, D, C} 003 {A, D, F, C} 004 {A, B, C) (A, D, B, C) {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 Apriori 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) 002 005 006 Question (C4): Given the following transaction database of a supermarket: (TID = transaction ID) Transaction ID Items bought 001 {A, B, C) {A, D, C} 003 {A, D, F, C} 004 {A, B, C) (A, D, B, C) {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 Apriori 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)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!