Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions