Question: Q 3 : In the live session, we used the Apriori algorithm for mining frequent itemsets. The output of the Apriori algorithm is shown in

Q3: In the live session, we used the Apriori algorithm for mining frequent itemsets. The output of the Apriori algorithm is shown in L3 set. The frequent itemsets are used to generate association rules in the form of X->Y (X implies Y).
For example, the data contain frequent itemset X ={I1, I2, I5}. What are the association rules that can be generated from X?
Solution:
Step 1: Find the nonempty subsets of X. They are {I1, I2},{I1, I5},{I2, I5},{I1},{I2}, and {I5}.
Step 2: Generate the resulting association rules are as shown below:
{I1, I2}-> I5
{I1, I5}-> I2
{I2, I5}-> I3
I5->{I1, I2}
I2->{I1, I5}
I3->{I2, I5}FIGURE 4.2
Generation of the candidate itemsets and frequent itemsets, where the minimum support count is 2.
 Q3: In the live session, we used the Apriori algorithm for

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!