Question: A transaction database from one grocery shop server is as follows: Transaction Id Items 1 Item1, Item2, Item5 2 Item2, Item4 3 Item2, Item3 4

A transaction database from one grocery shop server is as follows:

Transaction Id

Items

1

Item1, Item2, Item5

2

Item2, Item4

3

Item2, Item3

4

Item1, Item2, Item4

5

Item1, Item3

6

Item2, Item3

7

Item1, Item3

8

Item1, Item2, Item3, Item5

9

Item1, Item2, Item3

10

Item1, Item2, Item3, Item4, Item 5

Assuming a minimum support of 20% (i.e., 2 transactions out of 10).

  • Calculate the frequent 1-itemset (L1).
  • Calculate the frequent 2-itemset (L2).
  • Generate the possible association rules and calculate their level of confidence.

Detailed answer required

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 Databases Questions!