SlideShare a Scribd company logo
1 of 6
Book for the slides
1) Introduction to Data Mining
Author: P N Tan, M Steinbach and V Kumar
2) Data Mining: Concepts and Techniques
Author: J Han and M Kamber
1
2
Association Analysis
Association analysis
• It is a methodology which is useful for discovering interesting relationships
hidden in large data sets
• The uncovered relationships can be represented in the form of association rules
or sets of frequent items
E.g. The rule {Diapers} {Beer} can be extracted from Table 1
Applications
• Market basket analysis, Bioinformatics, Medical diagnosis, Web mining, and
scientific data analysis.
Support count
 The support count for an item set X is (X) which refers to the number of
transactions that contain item set X. The support count for the item set
{Bread, Sweet, Milk} is 2.
TID Items
1 {Bread, Milk}
2 {Diapers, Rice, Milk, Beer}
3 {Bread, Sweet, Milk, Beer}
4 {Bread, Sweet, Milk, Beef}
3
Association Analysis
Association rule
• It is an implication expression of the form X  Y where X and Y are disjoint item
sets, X  Y = .
• The strength of an association rule is measured using support and confidence
Support
 It determines how often a rule is applicable to a given data set
Support, s(X  Y) = (X  Y) / N where N is the total number of records
Confidence
 It determines how frequently items in Y appear in transactions that contain X
Confidence c(X  Y) = (X  Y) / (X)
Association rule discovery
 Given a set of transactions T, find all the rules having support  minsup and confidence 
minconf, where minsup and minconf are the corresponding support and confidence
thresholds.
Association rule mining algorithm
 Decomposes the problem into two major subtasks:
 Frequent item set generation: Find all the item sets that satisfy the minsup
threshold called frequent item sets
 Rule generation: Extract all the high confidence rules from the frequent item
sets found in the previous step called strong rules
4
Association Analysis
See Fig. 6.1
• A data set that contains k items can potentially generate up to 2k -1 frequent
item sets excluding the null set.
• To find frequent item sets, determine the support count for every candidate item
set.
• Compare each candidate against every transaction, If the candidate is contained
in a transaction, the support count will be incremented.
The Apriori Principe
 If an item set is frequent, then all of its subsets must also be frequent.
Frequent Item set Generation using The Apriori algorithm
 It uses support-based pruning to systematically control the exponential growth
of candidate item sets
 Initially, every item is considered as a candidate 1-item set. The items which
have minimum support are discarded
 In the next iteration, candidate-2 item sets are generated using only the
frequent 1-item sets
 Candidate 3-itemsets are formed in the similar way. This process is continued
until the frequent item set is null.
5
Association Analysis
Frequent Item set Generation using The Apriori algorithm
 The following variables are used in the Apriori algorithm:
Ck → denotes the set of candidate k-item sets
Fk → denotes the set of frequent k-item sets
1. The algorithm initially makes a single pass over the data set to determine the support of
each item. Upon completion of this step, the set of all frequent 1-itemsets, F1 will be
known (step 1 and 2)
2. The algorithm will iteratively generate new candidate k-itemsets using the frequent (k-1)-
itemsets found in the previous iteration (step 5).
3. Candidate generation is implemented using a function called apriori-gen()
See Algorithm 6.1 Frequent itemset generation of the Apriori algorithm
 To count the support of the candidates, the algorithm needs to make an additional pass
over the data set (step 6-10). The subset function is used to determine all the candidate
itemsets in Ck that are contained in each transaction t.
 The algorithm eliminates all candidate itemsets whose support counts are less than
minsup (step 12).
 The algorithm terminates when there are no new frequent itemsets generated,
Fk =  (step 13)
 Total number of iterations = kmax +1 where kmax is the maximum size of the frequent
itemsets.
6
Association Analysis
Candidate Generation and Pruning
 The apriori-gen() function generates candidate itemsets by performing the following two
functions:
1. Candidate generation: it generates new candidate k-itemsets based upon the
frequent (k-1) itemsets found in the previous iteration
2. Candidate pruning: This operation eliminates some of the candidate k-itemsets
using the support-based pruning strategy. The infrequent item is immediately
prunned.
Rule Generation
 The ap-genrules() function generates the rules which are strong
See Algorithm 6.2 Rule generation of the Apriori algorithm
See Algorithm 6.3 Procedure ap-genrules()

More Related Content

Similar to Lec6_Association.ppt

CS 402 DATAMINING AND WAREHOUSING -MODULE 5
CS 402 DATAMINING AND WAREHOUSING -MODULE 5CS 402 DATAMINING AND WAREHOUSING -MODULE 5
CS 402 DATAMINING AND WAREHOUSING -MODULE 5NIMMYRAJU
 
Pattern Discovery Using Apriori and Ch-Search Algorithm
 Pattern Discovery Using Apriori and Ch-Search Algorithm Pattern Discovery Using Apriori and Ch-Search Algorithm
Pattern Discovery Using Apriori and Ch-Search Algorithmijceronline
 
Result analysis of mining fast frequent itemset using compacted data
Result analysis of mining fast frequent itemset using compacted dataResult analysis of mining fast frequent itemset using compacted data
Result analysis of mining fast frequent itemset using compacted dataijistjournal
 
Result Analysis of Mining Fast Frequent Itemset Using Compacted Data
Result Analysis of Mining Fast Frequent Itemset Using Compacted DataResult Analysis of Mining Fast Frequent Itemset Using Compacted Data
Result Analysis of Mining Fast Frequent Itemset Using Compacted Dataijistjournal
 
Discovering Frequent Patterns with New Mining Procedure
Discovering Frequent Patterns with New Mining ProcedureDiscovering Frequent Patterns with New Mining Procedure
Discovering Frequent Patterns with New Mining ProcedureIOSR Journals
 
An improvised tree algorithm for association rule mining using transaction re...
An improvised tree algorithm for association rule mining using transaction re...An improvised tree algorithm for association rule mining using transaction re...
An improvised tree algorithm for association rule mining using transaction re...Editor IJCATR
 
Association 04.03.14
Association   04.03.14Association   04.03.14
Association 04.03.14rahulmath80
 
IRJET-Comparative Analysis of Apriori and Apriori with Hashing Algorithm
IRJET-Comparative Analysis of  Apriori and Apriori with Hashing AlgorithmIRJET-Comparative Analysis of  Apriori and Apriori with Hashing Algorithm
IRJET-Comparative Analysis of Apriori and Apriori with Hashing AlgorithmIRJET Journal
 
Association rule mining
Association rule miningAssociation rule mining
Association rule miningUtkarsh Sharma
 
Analyzing Adverse Drug Events Using Data Mining Approach
Analyzing Adverse Drug Events Using Data Mining ApproachAnalyzing Adverse Drug Events Using Data Mining Approach
Analyzing Adverse Drug Events Using Data Mining ApproachRupal7
 
Association Rule.ppt
Association Rule.pptAssociation Rule.ppt
Association Rule.pptSowmyaJyothi3
 
Association Rule.ppt
Association Rule.pptAssociation Rule.ppt
Association Rule.pptSowmyaJyothi3
 
Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084Editor IJARCET
 
Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084Editor IJARCET
 

Similar to Lec6_Association.ppt (20)

Ej36829834
Ej36829834Ej36829834
Ej36829834
 
CS 402 DATAMINING AND WAREHOUSING -MODULE 5
CS 402 DATAMINING AND WAREHOUSING -MODULE 5CS 402 DATAMINING AND WAREHOUSING -MODULE 5
CS 402 DATAMINING AND WAREHOUSING -MODULE 5
 
Pattern Discovery Using Apriori and Ch-Search Algorithm
 Pattern Discovery Using Apriori and Ch-Search Algorithm Pattern Discovery Using Apriori and Ch-Search Algorithm
Pattern Discovery Using Apriori and Ch-Search Algorithm
 
B0950814
B0950814B0950814
B0950814
 
Result analysis of mining fast frequent itemset using compacted data
Result analysis of mining fast frequent itemset using compacted dataResult analysis of mining fast frequent itemset using compacted data
Result analysis of mining fast frequent itemset using compacted data
 
Result Analysis of Mining Fast Frequent Itemset Using Compacted Data
Result Analysis of Mining Fast Frequent Itemset Using Compacted DataResult Analysis of Mining Fast Frequent Itemset Using Compacted Data
Result Analysis of Mining Fast Frequent Itemset Using Compacted Data
 
Dm unit ii r16
Dm unit ii   r16Dm unit ii   r16
Dm unit ii r16
 
Discovering Frequent Patterns with New Mining Procedure
Discovering Frequent Patterns with New Mining ProcedureDiscovering Frequent Patterns with New Mining Procedure
Discovering Frequent Patterns with New Mining Procedure
 
An improvised tree algorithm for association rule mining using transaction re...
An improvised tree algorithm for association rule mining using transaction re...An improvised tree algorithm for association rule mining using transaction re...
An improvised tree algorithm for association rule mining using transaction re...
 
Association 04.03.14
Association   04.03.14Association   04.03.14
Association 04.03.14
 
J0945761
J0945761J0945761
J0945761
 
IRJET-Comparative Analysis of Apriori and Apriori with Hashing Algorithm
IRJET-Comparative Analysis of  Apriori and Apriori with Hashing AlgorithmIRJET-Comparative Analysis of  Apriori and Apriori with Hashing Algorithm
IRJET-Comparative Analysis of Apriori and Apriori with Hashing Algorithm
 
Associative Learning
Associative LearningAssociative Learning
Associative Learning
 
Association rule mining
Association rule miningAssociation rule mining
Association rule mining
 
Analyzing Adverse Drug Events Using Data Mining Approach
Analyzing Adverse Drug Events Using Data Mining ApproachAnalyzing Adverse Drug Events Using Data Mining Approach
Analyzing Adverse Drug Events Using Data Mining Approach
 
6 module 4
6 module 46 module 4
6 module 4
 
Association Rule.ppt
Association Rule.pptAssociation Rule.ppt
Association Rule.ppt
 
Association Rule.ppt
Association Rule.pptAssociation Rule.ppt
Association Rule.ppt
 
Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084
 
Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084Volume 2-issue-6-2081-2084
Volume 2-issue-6-2081-2084
 

Recently uploaded

100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 

Recently uploaded (20)

100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 

Lec6_Association.ppt

  • 1. Book for the slides 1) Introduction to Data Mining Author: P N Tan, M Steinbach and V Kumar 2) Data Mining: Concepts and Techniques Author: J Han and M Kamber 1
  • 2. 2 Association Analysis Association analysis • It is a methodology which is useful for discovering interesting relationships hidden in large data sets • The uncovered relationships can be represented in the form of association rules or sets of frequent items E.g. The rule {Diapers} {Beer} can be extracted from Table 1 Applications • Market basket analysis, Bioinformatics, Medical diagnosis, Web mining, and scientific data analysis. Support count  The support count for an item set X is (X) which refers to the number of transactions that contain item set X. The support count for the item set {Bread, Sweet, Milk} is 2. TID Items 1 {Bread, Milk} 2 {Diapers, Rice, Milk, Beer} 3 {Bread, Sweet, Milk, Beer} 4 {Bread, Sweet, Milk, Beef}
  • 3. 3 Association Analysis Association rule • It is an implication expression of the form X  Y where X and Y are disjoint item sets, X  Y = . • The strength of an association rule is measured using support and confidence Support  It determines how often a rule is applicable to a given data set Support, s(X  Y) = (X  Y) / N where N is the total number of records Confidence  It determines how frequently items in Y appear in transactions that contain X Confidence c(X  Y) = (X  Y) / (X) Association rule discovery  Given a set of transactions T, find all the rules having support  minsup and confidence  minconf, where minsup and minconf are the corresponding support and confidence thresholds. Association rule mining algorithm  Decomposes the problem into two major subtasks:  Frequent item set generation: Find all the item sets that satisfy the minsup threshold called frequent item sets  Rule generation: Extract all the high confidence rules from the frequent item sets found in the previous step called strong rules
  • 4. 4 Association Analysis See Fig. 6.1 • A data set that contains k items can potentially generate up to 2k -1 frequent item sets excluding the null set. • To find frequent item sets, determine the support count for every candidate item set. • Compare each candidate against every transaction, If the candidate is contained in a transaction, the support count will be incremented. The Apriori Principe  If an item set is frequent, then all of its subsets must also be frequent. Frequent Item set Generation using The Apriori algorithm  It uses support-based pruning to systematically control the exponential growth of candidate item sets  Initially, every item is considered as a candidate 1-item set. The items which have minimum support are discarded  In the next iteration, candidate-2 item sets are generated using only the frequent 1-item sets  Candidate 3-itemsets are formed in the similar way. This process is continued until the frequent item set is null.
  • 5. 5 Association Analysis Frequent Item set Generation using The Apriori algorithm  The following variables are used in the Apriori algorithm: Ck → denotes the set of candidate k-item sets Fk → denotes the set of frequent k-item sets 1. The algorithm initially makes a single pass over the data set to determine the support of each item. Upon completion of this step, the set of all frequent 1-itemsets, F1 will be known (step 1 and 2) 2. The algorithm will iteratively generate new candidate k-itemsets using the frequent (k-1)- itemsets found in the previous iteration (step 5). 3. Candidate generation is implemented using a function called apriori-gen() See Algorithm 6.1 Frequent itemset generation of the Apriori algorithm  To count the support of the candidates, the algorithm needs to make an additional pass over the data set (step 6-10). The subset function is used to determine all the candidate itemsets in Ck that are contained in each transaction t.  The algorithm eliminates all candidate itemsets whose support counts are less than minsup (step 12).  The algorithm terminates when there are no new frequent itemsets generated, Fk =  (step 13)  Total number of iterations = kmax +1 where kmax is the maximum size of the frequent itemsets.
  • 6. 6 Association Analysis Candidate Generation and Pruning  The apriori-gen() function generates candidate itemsets by performing the following two functions: 1. Candidate generation: it generates new candidate k-itemsets based upon the frequent (k-1) itemsets found in the previous iteration 2. Candidate pruning: This operation eliminates some of the candidate k-itemsets using the support-based pruning strategy. The infrequent item is immediately prunned. Rule Generation  The ap-genrules() function generates the rules which are strong See Algorithm 6.2 Rule generation of the Apriori algorithm See Algorithm 6.3 Procedure ap-genrules()