SlideShare a Scribd company logo
- Sanket Pandharkar - pandharkarsanket19@gmail.com
- ROHIT rote - rohitrote8806@gmail.com
- NIRANT NAIK - nirantnaik4410@gmail.com
- ONKAR CHAVAN - onkarchavan830@gmail.com
PRESENTED BY
Modern College Of Arts, Science & Commerce Ganeshkhind Pune-16.
Department of Computer Science
Data Mining Assignment
Guided By :
Dr. Dipali Meher
• Example : Find all frequent itemsets in the database using FP-growth
algorithm. Take minimum support = 2
Transaction Id Items
T1 Milk, Sugar, Bread, Egg
T2 Sugar, Bread, Butter
T3 Milk, Egg, Sugar
T4 Bread, Butter, Egg
T5 Bread, Butter, Milk
T6 Bread, Butter
T7 Milk, Sugar, Egg
T8 Bread, Egg
• Now we will build a FP Tree of that database
• Item Sets are considered in order of their descending value of support count
• Find Frequency of occurrence :
Transaction Id Frequency
Milk 4
Sugar 4
Bread 6
Egg 5
Butter 4
• Priority the items :
Transaction Id Frequency Priority
Milk 4 3
Sugar 4 4
Bread 6 1
Egg 5 2
Butter 4 5
Since min_sup = 2
● Ordering each itemsets as per the priorities
Transaction Id Items Ordered Items
T1 Milk, Sugar, Bread, Egg Bread, Egg, Milk, Sugar
T2 Sugar, Bread, Butter Bread, Sugar, Butter
T3 Milk, Egg, Sugar Egg, Milk, Sugar
T4 Bread, Butter, Egg Bread, Egg, Butter
T5 Bread, Butter, Milk Bread, Milk, Butter
T6 Bread, Butter Bread, Butter
T7 Milk, Sugar, Egg Egg, Milk, Sugar
T8 Bread, Egg Bread, Sugar
● Now drawing FP-tree by using ordered itemsets one by one : Row 1
Null
Bread : 1
Egg : 1
Milk : 1
Sugar : 1
• For, Row 2 :
Null
Butter : 1
Sugar : 1
Sugar : 1
Milk : 1
Egg : 1
Bread : 2
• For, Row 3 :
Null
Sugar : 1
Milk : 1
Egg : 1
Bread : 2
Egg : 1
Milk : 1
Sugar : 1
Sugar : 1
Butter : 1
• For, Row 4 :
Null
Egg : 1
Butter : 1
Bread : 3
Egg : 2
Milk : 1
Sugar : 1
Sugar : 1
Butter : 1
Sugar : 1
Milk : 1
• For, Row 5 :
Null
Bread : 1
Milk : 1
Sugar : 1
Bread : 4
Egg : 2
Egg : 1
Milk : 1
Sugar : 1
Butter : 1
Milk : 1
Butter : 1
Sugar : 1
• For, Row 6 :
Null
Bread : 5
Sugar : 1
Milk : 1
Egg : 1
Butter : 1
Butter : 1
Egg : 2
Milk : 1
Sugar : 1
Sugar : 1
Butter : 1
Milk : 1
Butter : 1
• For, Row 7 : Null
Butter : 1
Egg : 2
Milk : 2
Sugar : 2
Butter : 1
Bread : 5
Egg : 2
Milk : 1
Sugar : 1
Sugar : 1
Butter : 1
Milk : 1
Butter : 1
• For, Row 8 : Final FP Tree =>
Null
Sugar : 2
Milk : 2
Egg : 2
Butter : 1
Butter : 1
Bread : 6
Egg : 3
Milk : 1
Sugar : 1
Sugar : 1
Butter : 1
Milk : 1
Butter : 1
Example of  The FP tree algorithm. Explained each and every steps

More Related Content

What's hot

Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)
Shuvongkor Barman
 
Fp growth algorithm
Fp growth algorithmFp growth algorithm
Fp growth algorithm
Vinay Bhosale
 
Apriori algorithm
Apriori algorithm Apriori algorithm
Apriori algorithm
DHIVYADEVAKI
 
Query optimization
Query optimizationQuery optimization
Query optimization
Zunera Bukhari
 
Insertion sort
Insertion sortInsertion sort
Insertion sortMYER301
 
Feature Engineering in Machine Learning
Feature Engineering in Machine LearningFeature Engineering in Machine Learning
Feature Engineering in Machine Learning
Knoldus Inc.
 
Web data mining
Web data miningWeb data mining
K mean-clustering algorithm
K mean-clustering algorithmK mean-clustering algorithm
K mean-clustering algorithm
parry prabhu
 
Apriori algorithm
Apriori algorithmApriori algorithm
Apriori algorithm
Gaurav Aggarwal
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data StructureAnuj Modi
 
Selection sort
Selection sortSelection sort
Selection sort
amna izzat
 
Searching algorithms
Searching algorithmsSearching algorithms
Searching algorithms
Trupti Agrawal
 
Unit 1 chapter 1 Design and Analysis of Algorithms
Unit 1   chapter 1 Design and Analysis of AlgorithmsUnit 1   chapter 1 Design and Analysis of Algorithms
Unit 1 chapter 1 Design and Analysis of Algorithms
P. Subathra Kishore, KAMARAJ College of Engineering and Technology, Madurai
 
SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMS
Gokul Hari
 
Anomaly detection with machine learning at scale
Anomaly detection with machine learning at scaleAnomaly detection with machine learning at scale
Anomaly detection with machine learning at scale
Impetus Technologies
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
Sopheaktra YONG
 
Circular link list.ppt
Circular link list.pptCircular link list.ppt
Circular link list.ppt
Tirthika Bandi
 
Data mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updatedData mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updated
Yugal Kumar
 
Insertion in singly linked list
Insertion in singly linked listInsertion in singly linked list
Insertion in singly linked list
Keval Bhogayata
 
Presentation on Heap Sort
Presentation on Heap Sort Presentation on Heap Sort
Presentation on Heap Sort
Amit Kundu
 

What's hot (20)

Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)Presentation on Breadth First Search (BFS)
Presentation on Breadth First Search (BFS)
 
Fp growth algorithm
Fp growth algorithmFp growth algorithm
Fp growth algorithm
 
Apriori algorithm
Apriori algorithm Apriori algorithm
Apriori algorithm
 
Query optimization
Query optimizationQuery optimization
Query optimization
 
Insertion sort
Insertion sortInsertion sort
Insertion sort
 
Feature Engineering in Machine Learning
Feature Engineering in Machine LearningFeature Engineering in Machine Learning
Feature Engineering in Machine Learning
 
Web data mining
Web data miningWeb data mining
Web data mining
 
K mean-clustering algorithm
K mean-clustering algorithmK mean-clustering algorithm
K mean-clustering algorithm
 
Apriori algorithm
Apriori algorithmApriori algorithm
Apriori algorithm
 
B trees in Data Structure
B trees in Data StructureB trees in Data Structure
B trees in Data Structure
 
Selection sort
Selection sortSelection sort
Selection sort
 
Searching algorithms
Searching algorithmsSearching algorithms
Searching algorithms
 
Unit 1 chapter 1 Design and Analysis of Algorithms
Unit 1   chapter 1 Design and Analysis of AlgorithmsUnit 1   chapter 1 Design and Analysis of Algorithms
Unit 1 chapter 1 Design and Analysis of Algorithms
 
SEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMSSEARCHING AND SORTING ALGORITHMS
SEARCHING AND SORTING ALGORITHMS
 
Anomaly detection with machine learning at scale
Anomaly detection with machine learning at scaleAnomaly detection with machine learning at scale
Anomaly detection with machine learning at scale
 
Feedforward neural network
Feedforward neural networkFeedforward neural network
Feedforward neural network
 
Circular link list.ppt
Circular link list.pptCircular link list.ppt
Circular link list.ppt
 
Data mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updatedData mining and data warehouse lab manual updated
Data mining and data warehouse lab manual updated
 
Insertion in singly linked list
Insertion in singly linked listInsertion in singly linked list
Insertion in singly linked list
 
Presentation on Heap Sort
Presentation on Heap Sort Presentation on Heap Sort
Presentation on Heap Sort
 

Similar to Example of The FP tree algorithm. Explained each and every steps

Apriori
AprioriApriori
Apriori
Vinay Bhosale
 
Data mining- FP Tree
Data mining- FP TreeData mining- FP Tree
Data mining- FP Tree
AnujaZope
 
Focus Group Presentation (Ver 1.0)
Focus Group Presentation (Ver 1.0)Focus Group Presentation (Ver 1.0)
Focus Group Presentation (Ver 1.0)Yankeesfan09
 
Recipe collection 47
Recipe collection 47Recipe collection 47
Recipe collection 47Sal Lie
 
Bread Recipes
Bread RecipesBread Recipes
Bread Recipesrobtrue
 
Easy Gluten Free Recipes
Easy Gluten Free RecipesEasy Gluten Free Recipes
Easy Gluten Free Recipes
Brandon Schmid
 
Recipe collection 69
Recipe collection 69Recipe collection 69
Recipe collection 69Sal Lie
 
Pancakes presentation
Pancakes presentationPancakes presentation
Pancakes presentationtravisibey84
 
Goodbye_Carb_Cravings_Cookbook_Way2healthyy.pdf
Goodbye_Carb_Cravings_Cookbook_Way2healthyy.pdfGoodbye_Carb_Cravings_Cookbook_Way2healthyy.pdf
Goodbye_Carb_Cravings_Cookbook_Way2healthyy.pdf
PRAVINSATHISH
 
Everyday English: Cooking Instructions
Everyday English: Cooking InstructionsEveryday English: Cooking Instructions
Everyday English: Cooking Instructions
KatieEnglishTutoring
 
Five Dish Dinner Party
Five Dish Dinner PartyFive Dish Dinner Party
Five Dish Dinner Partychristyannalou
 
Data Mining-Apriori Algorithm Example
Data Mining-Apriori Algorithm ExampleData Mining-Apriori Algorithm Example
Data Mining-Apriori Algorithm Example
AnujaZope
 
12 weeks fat burning meal plan
12 weeks fat burning meal plan12 weeks fat burning meal plan
12 weeks fat burning meal plan
Lazaro Almenares
 
ARTIFICIAL INSEMINATION
ARTIFICIAL INSEMINATIONARTIFICIAL INSEMINATION
ARTIFICIAL INSEMINATION
Andrelord Medina
 
Cooking Step by Step
Cooking Step by StepCooking Step by Step
Cooking Step by Step
Reading Seed
 

Similar to Example of The FP tree algorithm. Explained each and every steps (15)

Apriori
AprioriApriori
Apriori
 
Data mining- FP Tree
Data mining- FP TreeData mining- FP Tree
Data mining- FP Tree
 
Focus Group Presentation (Ver 1.0)
Focus Group Presentation (Ver 1.0)Focus Group Presentation (Ver 1.0)
Focus Group Presentation (Ver 1.0)
 
Recipe collection 47
Recipe collection 47Recipe collection 47
Recipe collection 47
 
Bread Recipes
Bread RecipesBread Recipes
Bread Recipes
 
Easy Gluten Free Recipes
Easy Gluten Free RecipesEasy Gluten Free Recipes
Easy Gluten Free Recipes
 
Recipe collection 69
Recipe collection 69Recipe collection 69
Recipe collection 69
 
Pancakes presentation
Pancakes presentationPancakes presentation
Pancakes presentation
 
Goodbye_Carb_Cravings_Cookbook_Way2healthyy.pdf
Goodbye_Carb_Cravings_Cookbook_Way2healthyy.pdfGoodbye_Carb_Cravings_Cookbook_Way2healthyy.pdf
Goodbye_Carb_Cravings_Cookbook_Way2healthyy.pdf
 
Everyday English: Cooking Instructions
Everyday English: Cooking InstructionsEveryday English: Cooking Instructions
Everyday English: Cooking Instructions
 
Five Dish Dinner Party
Five Dish Dinner PartyFive Dish Dinner Party
Five Dish Dinner Party
 
Data Mining-Apriori Algorithm Example
Data Mining-Apriori Algorithm ExampleData Mining-Apriori Algorithm Example
Data Mining-Apriori Algorithm Example
 
12 weeks fat burning meal plan
12 weeks fat burning meal plan12 weeks fat burning meal plan
12 weeks fat burning meal plan
 
ARTIFICIAL INSEMINATION
ARTIFICIAL INSEMINATIONARTIFICIAL INSEMINATION
ARTIFICIAL INSEMINATION
 
Cooking Step by Step
Cooking Step by StepCooking Step by Step
Cooking Step by Step
 

Recently uploaded

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 

Recently uploaded (20)

Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 

Example of The FP tree algorithm. Explained each and every steps

  • 1. - Sanket Pandharkar - pandharkarsanket19@gmail.com - ROHIT rote - rohitrote8806@gmail.com - NIRANT NAIK - nirantnaik4410@gmail.com - ONKAR CHAVAN - onkarchavan830@gmail.com PRESENTED BY Modern College Of Arts, Science & Commerce Ganeshkhind Pune-16. Department of Computer Science Data Mining Assignment Guided By : Dr. Dipali Meher
  • 2. • Example : Find all frequent itemsets in the database using FP-growth algorithm. Take minimum support = 2 Transaction Id Items T1 Milk, Sugar, Bread, Egg T2 Sugar, Bread, Butter T3 Milk, Egg, Sugar T4 Bread, Butter, Egg T5 Bread, Butter, Milk T6 Bread, Butter T7 Milk, Sugar, Egg T8 Bread, Egg • Now we will build a FP Tree of that database • Item Sets are considered in order of their descending value of support count
  • 3. • Find Frequency of occurrence : Transaction Id Frequency Milk 4 Sugar 4 Bread 6 Egg 5 Butter 4 • Priority the items : Transaction Id Frequency Priority Milk 4 3 Sugar 4 4 Bread 6 1 Egg 5 2 Butter 4 5 Since min_sup = 2
  • 4. ● Ordering each itemsets as per the priorities Transaction Id Items Ordered Items T1 Milk, Sugar, Bread, Egg Bread, Egg, Milk, Sugar T2 Sugar, Bread, Butter Bread, Sugar, Butter T3 Milk, Egg, Sugar Egg, Milk, Sugar T4 Bread, Butter, Egg Bread, Egg, Butter T5 Bread, Butter, Milk Bread, Milk, Butter T6 Bread, Butter Bread, Butter T7 Milk, Sugar, Egg Egg, Milk, Sugar T8 Bread, Egg Bread, Sugar
  • 5. ● Now drawing FP-tree by using ordered itemsets one by one : Row 1 Null Bread : 1 Egg : 1 Milk : 1 Sugar : 1
  • 6. • For, Row 2 : Null Butter : 1 Sugar : 1 Sugar : 1 Milk : 1 Egg : 1 Bread : 2
  • 7. • For, Row 3 : Null Sugar : 1 Milk : 1 Egg : 1 Bread : 2 Egg : 1 Milk : 1 Sugar : 1 Sugar : 1 Butter : 1
  • 8. • For, Row 4 : Null Egg : 1 Butter : 1 Bread : 3 Egg : 2 Milk : 1 Sugar : 1 Sugar : 1 Butter : 1 Sugar : 1 Milk : 1
  • 9. • For, Row 5 : Null Bread : 1 Milk : 1 Sugar : 1 Bread : 4 Egg : 2 Egg : 1 Milk : 1 Sugar : 1 Butter : 1 Milk : 1 Butter : 1 Sugar : 1
  • 10. • For, Row 6 : Null Bread : 5 Sugar : 1 Milk : 1 Egg : 1 Butter : 1 Butter : 1 Egg : 2 Milk : 1 Sugar : 1 Sugar : 1 Butter : 1 Milk : 1 Butter : 1
  • 11. • For, Row 7 : Null Butter : 1 Egg : 2 Milk : 2 Sugar : 2 Butter : 1 Bread : 5 Egg : 2 Milk : 1 Sugar : 1 Sugar : 1 Butter : 1 Milk : 1 Butter : 1
  • 12. • For, Row 8 : Final FP Tree => Null Sugar : 2 Milk : 2 Egg : 2 Butter : 1 Butter : 1 Bread : 6 Egg : 3 Milk : 1 Sugar : 1 Sugar : 1 Butter : 1 Milk : 1 Butter : 1