0% found this document useful (1 vote)
162 views3 pages

FP-Growth Example

This document discusses frequent itemset mining of a sample transactional database using the FP-growth algorithm. It shows the steps of building a frequent pattern tree (FP-tree) from the transactional data and recursively extracting frequent itemsets based on minimum support of 30%. Frequent itemsets identified include B, D, A, E, C, BC, DE, BE, AE, AD, AB, and their combinations.

Uploaded by

Geethma Minoli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
162 views3 pages

FP-Growth Example

This document discusses frequent itemset mining of a sample transactional database using the FP-growth algorithm. It shows the steps of building a frequent pattern tree (FP-tree) from the transactional data and recursively extracting frequent itemsets based on minimum support of 30%. Frequent itemsets identified include B, D, A, E, C, BC, DE, BE, AE, AD, AB, and their combinations.

Uploaded by

Geethma Minoli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Fundamentals of Data Mining

Semester 2, Year 3
Faculty of Computing
Sri Lanka Institute of Information Technology

FP-Growth Example

Find all frequent itemsets in the following database using FP-growth algorithm. Take minimum
support as 30%.

TID Items Ordered Items


1 E, A, D, B B, D, A, E
2 D, A, C, E, B B, D, A, E, C
3 C, A, B. E B, A, E, C
4 B, A, D B, D, A
5 D D
6 D, B B, D
7 A, D, E D, A, E
8 B, C B, C

Minimum support count is ceiling(0.3 * 8) = 3

F-list or header table for the original DB


B:6, D:6, A: 5, E:4, C: 3
Conditional pattern base for C:3
BDAE: 1; B: 1; BAE: 1
F-list: B:3

Conditional FP-tree for C


B: 3

Frequent patterns
C:3, BC:3

Conditional pattern base for E:4


BDA: 2; BA:1; DA:1
F-list: A:4, B:3, D:3

Conditional FP-tree for E

NULL
|
A:4 – D:1
|
B:3
|
D:2

Recursion
Conditional pattern base for DE:3
A:1, AB:2
Conditional FP-tree for DE
A:3
Frequent patterns
DE:3, ADE:3

Conditional pattern base for BE:3


A:3
Conditional FP-tree for BE
A:3
Frequent patterns
BE:3, ABE:3

Conditional pattern base for AE:4


NULL
Conditional FP-tree for DE
NULL
Frequent patterns
AE:4
and
E:4
Conditional pattern base for A:5
BD: 3; B:1; D:1
F-list: B:4, D:4
Conditional FP-tree for A

NULL – D:1
|
B:4
|
D:3

Recursion
Conditional pattern base for AD:4
B:3
Conditional FP-tree for AD
B:3

Frequent patterns
AD:4, ABD:3
Conditional pattern base for AB:4
NULL

Frequent patterns
AB:4
and
A:5

Conditional pattern base for D:6


B: 4
Conditional FP-tree for D
B: 4
Frequent patterns
D:6, BD:4

Conditional pattern base for B:6


NULL
Conditional FP-tree for B
NULL
Frequent patterns
B:6

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy