SlideShare una empresa de Scribd logo
1 de 29
Descargar para leer sin conexión
Question?
• Is it possible to leverage benefits of
  vertical data formats in combination
  with efficiencies of bitmap operations
  to mine association rules in a
  distributed environment.
Association Rule Mining??
• Finding Interesting Relationships
  between the variables.
• Finding the subset that is common to a
  chosen minimum number of the
  itemsets from the set of itemsets.
• Pattern Recognition.
• Explained By Market Basket Analysis.
Sample (Toy ) Data
         Set
TID        Item ID’s

T100       I1, I2, I5


T200       I2, I4


T300       I1, I2


T400       I2, I5
Apriori
• Fundamental Algorithm for Association
  Rule Mining.
• Mines frequent patterns from a horizontal
  data format which represents the items
  categorized into particular transactions.
• i-th stage identifies all frequent i-element
  sets.
• Two steps:
• > Candidate generation.
• > Candidate counting.
Vertical Form
• Transactions categorized into particular items.
• Vertical format data mining only has to parse
  the dataset once to get the itemsets.
• For the itemset generation from the 2nd
  itemset it only needs to refer the previous
  itemset.
• Eliminates parsing through the dataset each
  time to count the frequency of itemsets, for
  each round.
• More efficient than its horizontal form.
BitMaps
•   Compactly store individual bits.
•   Exploit bit-level parallelism effectively.
•   0’s and 1’s.
•   1 indicates existence.
Combined?
• Algorithm takes a horizontal data set.
• With a one pass of the data set
  construct a bit map based data
  structure.
• This structure is in vertical format.
• The structure facilitates efficient mining
  of association rules.
Sample (Toy ) Data
         Set
TID        Item ID’s

T100       I1, I2, I5


T200       I2, I4


T300       I1, I2


T400       I2, I5
Sample (Toy ) Data
                     Set
                 TID         Item ID’s

                 T100        I1, I2, I5

Horizontal
Format           T200        I2, I4


                 T300        I1, I2


                 T400        I2, I5
I1
TID    Item ID’s
T100   I1, I2, I5
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2


                         Ordered Item
                            Array


                    I4




                    I5
I1       I2
TID    Item ID’s         1
T100   I1, I2, I5            1
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2
                         1




                    I4




                    I5
I1       I2   I5
TID    Item ID’s         1
T100   I1, I2, I5            1    1
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2       I5
                         1
                             1



                    I4




                    I5
                         1
I1       I2     I5
TID    Item ID’s         1
T100   I1, I2, I5            1      1
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2       I5
                         1
                             1



                    I4




                              Master Array

                    I5
                         1
I1       I2     I5
TID    Item ID’s         1
T100   I1, I2, I5            1      1
T200   I2, I4
                                  Associated
T300   I1, I2                     Items
T400   I2, I5       I2       I5
                         1
                             1



                    I4




                              Master Array

                    I5
                         1
I1       I2     I5
TID    Item ID’s         1
T100   I1, I2, I5            1      1
T200   I2, I4
                                  Associated
T300   I1, I2                     Items
T400   I2, I5       I2       I5
                         1
                             1



                    I4            Bitmap




                              Master Array

                    I5
                         1
I1       I2   I5
TID    Item ID’s         1
T100   I1, I2, I5            1    1
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2       I5
                         2
                             1



                    I4




                    I5
                         1
I1       I2   I5
TID    Item ID’s         1
T100   I1, I2, I5            1    1
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2       I5   I4
                         2
                             1     0

                             0     1

                    I4
                         1




                    I5
                         1
I1       I2   I5
TID    Item ID’s         2
T100   I1, I2, I5            1    1
T200   I2, I4
T300   I1, I2
T400   I2, I5       I2       I5   I4
                         2
                             1     0

                             0     1

                    I4
                         1




                    I5
                         1
I2   I5
                    I1
TID    Item ID’s         2
T100   I1, I2, I5            1    1

T200   I2, I4
                             1    0
T300   I1, I2
T400   I2, I5       I2       I5   I4
                         3

                             1     0

                             0     1
                    I4
                         1




                    I5
                         2
I2   I5
                    I1
TID    Item ID’s         2
T100   I1, I2, I5            1    1

T200   I2, I4
                             1    0
T300   I1, I2
T400   I2, I5       I2       I5   I4
                         4

                             1     0     Final
                                         Data
                             0     1   Structure
                    I4
                         1   1     0




                    I5
                         2
Counting                             I2   I5
                               I1
 Frequent Item                      2
     Sets                               1    1

No. of Items   Frequent Item            1    0
                   Sets
     1           I1, I2, I5    I2       I5   I4
                                    4
     2          I1-I2, I2-I5
                                        1     0
     3               -
                                        0     1
  Minimum Support = 2          I4
                                    1   1     0




                               I5
                                    2
Counting                             I2   I5
                               I1
 Frequent Item                      2
     Sets                               1    1    1

No. of Items   Frequent Item                      0
                                        1    0
                   Sets
     1           I1, I2, I5    I2       I5   I4
                                    4
     2          I1-I2, I2-I5
                                        1     0   0
     3               -
                                        0     1   0
  Minimum Support = 2          I4                 0
                                    1   1     0




                               I5
                                    2
Results
Insights
• The algorithm performs better than
  Apriori in most scenarios.
• Data structure generation dominates
  the total time in most cases.
• As an aside…
• Can this be made to a distributed
  mining algorithm?
Turns out this can be done rather easily.
Algorithm lends to map reduce like
  distributed processing..
Each master array index is self
  contained..          I1      I2 I5
                        2
                               1   1
                               1   0


So can be mined in parallel.
Data structure generation  Map phase
Result accumulation -> Reduce phase
What Does Future Hold?
• Make this distributed.
• Java not the best of options. Use C so
  we can control memory allocations the
  way we want.
• Experiment with bitmap compression
  techniques.
Summary

Más contenido relacionado

Destacado

M Ulu Lu 3ssssssssssssssssss
M Ulu Lu 3ssssssssssssssssssM Ulu Lu 3ssssssssssssssssss
M Ulu Lu 3ssssssssssssssssssmululu sean john
 
Presentatie Seats2meet
Presentatie Seats2meetPresentatie Seats2meet
Presentatie Seats2meetLoeswijntjes
 
Designing The Rest Of Your Life. for renewal not retirement..Linkedin
Designing The Rest Of Your Life. for renewal not retirement..LinkedinDesigning The Rest Of Your Life. for renewal not retirement..Linkedin
Designing The Rest Of Your Life. for renewal not retirement..Linkedindoriss60
 
Horizontal format data mining with extended bitmaps
Horizontal format data mining with extended bitmapsHorizontal format data mining with extended bitmaps
Horizontal format data mining with extended bitmapsDenis Weerasiri
 
If Its Not Food, Dont Eat It! - Part 1
If Its Not Food, Dont Eat It! - Part 1If Its Not Food, Dont Eat It! - Part 1
If Its Not Food, Dont Eat It! - Part 1Kelly Hayford
 
Overcoming Our Unhealthy Food Culture
Overcoming Our Unhealthy Food CultureOvercoming Our Unhealthy Food Culture
Overcoming Our Unhealthy Food CultureKelly Hayford
 
women empowerment through micro finance
women empowerment through micro financewomen empowerment through micro finance
women empowerment through micro financesonamjayaswal
 
Introduction and Advanced Concepts of BPEL
Introduction and Advanced Concepts of BPELIntroduction and Advanced Concepts of BPEL
Introduction and Advanced Concepts of BPELDenis Weerasiri
 
Oracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide shareOracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide shareSrinivasarao Mataboyina
 
Your first step by step tutorial for oracle SOA
Your first step by step tutorial for oracle SOAYour first step by step tutorial for oracle SOA
Your first step by step tutorial for oracle SOAhalimelnagar
 

Destacado (14)

M Ulu Lu 3ssssssssssssssssss
M Ulu Lu 3ssssssssssssssssssM Ulu Lu 3ssssssssssssssssss
M Ulu Lu 3ssssssssssssssssss
 
Presentatie Seats2meet
Presentatie Seats2meetPresentatie Seats2meet
Presentatie Seats2meet
 
The Sugar Beast
The Sugar BeastThe Sugar Beast
The Sugar Beast
 
Designing The Rest Of Your Life. for renewal not retirement..Linkedin
Designing The Rest Of Your Life. for renewal not retirement..LinkedinDesigning The Rest Of Your Life. for renewal not retirement..Linkedin
Designing The Rest Of Your Life. for renewal not retirement..Linkedin
 
Horizontal format data mining with extended bitmaps
Horizontal format data mining with extended bitmapsHorizontal format data mining with extended bitmaps
Horizontal format data mining with extended bitmaps
 
If Its Not Food, Dont Eat It! - Part 1
If Its Not Food, Dont Eat It! - Part 1If Its Not Food, Dont Eat It! - Part 1
If Its Not Food, Dont Eat It! - Part 1
 
M Ulu L U 3
M Ulu L U 3M Ulu L U 3
M Ulu L U 3
 
Overcoming Our Unhealthy Food Culture
Overcoming Our Unhealthy Food CultureOvercoming Our Unhealthy Food Culture
Overcoming Our Unhealthy Food Culture
 
Project Report.
Project Report.Project Report.
Project Report.
 
women empowerment through micro finance
women empowerment through micro financewomen empowerment through micro finance
women empowerment through micro finance
 
Introduction and Advanced Concepts of BPEL
Introduction and Advanced Concepts of BPELIntroduction and Advanced Concepts of BPEL
Introduction and Advanced Concepts of BPEL
 
Soa & Bpel
Soa & BpelSoa & Bpel
Soa & Bpel
 
Oracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide shareOracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide share
 
Your first step by step tutorial for oracle SOA
Your first step by step tutorial for oracle SOAYour first step by step tutorial for oracle SOA
Your first step by step tutorial for oracle SOA
 

Último

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 

Último (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 

Distributed Association Rule Mining Using Vertical Bitmap Formats

  • 1.
  • 2. Question? • Is it possible to leverage benefits of vertical data formats in combination with efficiencies of bitmap operations to mine association rules in a distributed environment.
  • 3. Association Rule Mining?? • Finding Interesting Relationships between the variables. • Finding the subset that is common to a chosen minimum number of the itemsets from the set of itemsets. • Pattern Recognition. • Explained By Market Basket Analysis.
  • 4. Sample (Toy ) Data Set TID Item ID’s T100 I1, I2, I5 T200 I2, I4 T300 I1, I2 T400 I2, I5
  • 5. Apriori • Fundamental Algorithm for Association Rule Mining. • Mines frequent patterns from a horizontal data format which represents the items categorized into particular transactions. • i-th stage identifies all frequent i-element sets. • Two steps: • > Candidate generation. • > Candidate counting.
  • 6. Vertical Form • Transactions categorized into particular items. • Vertical format data mining only has to parse the dataset once to get the itemsets. • For the itemset generation from the 2nd itemset it only needs to refer the previous itemset. • Eliminates parsing through the dataset each time to count the frequency of itemsets, for each round. • More efficient than its horizontal form.
  • 7. BitMaps • Compactly store individual bits. • Exploit bit-level parallelism effectively. • 0’s and 1’s. • 1 indicates existence.
  • 8. Combined? • Algorithm takes a horizontal data set. • With a one pass of the data set construct a bit map based data structure. • This structure is in vertical format. • The structure facilitates efficient mining of association rules.
  • 9. Sample (Toy ) Data Set TID Item ID’s T100 I1, I2, I5 T200 I2, I4 T300 I1, I2 T400 I2, I5
  • 10. Sample (Toy ) Data Set TID Item ID’s T100 I1, I2, I5 Horizontal Format T200 I2, I4 T300 I1, I2 T400 I2, I5
  • 11. I1 TID Item ID’s T100 I1, I2, I5 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 Ordered Item Array I4 I5
  • 12. I1 I2 TID Item ID’s 1 T100 I1, I2, I5 1 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 1 I4 I5
  • 13. I1 I2 I5 TID Item ID’s 1 T100 I1, I2, I5 1 1 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 I5 1 1 I4 I5 1
  • 14. I1 I2 I5 TID Item ID’s 1 T100 I1, I2, I5 1 1 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 I5 1 1 I4 Master Array I5 1
  • 15. I1 I2 I5 TID Item ID’s 1 T100 I1, I2, I5 1 1 T200 I2, I4 Associated T300 I1, I2 Items T400 I2, I5 I2 I5 1 1 I4 Master Array I5 1
  • 16. I1 I2 I5 TID Item ID’s 1 T100 I1, I2, I5 1 1 T200 I2, I4 Associated T300 I1, I2 Items T400 I2, I5 I2 I5 1 1 I4 Bitmap Master Array I5 1
  • 17. I1 I2 I5 TID Item ID’s 1 T100 I1, I2, I5 1 1 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 I5 2 1 I4 I5 1
  • 18. I1 I2 I5 TID Item ID’s 1 T100 I1, I2, I5 1 1 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 I5 I4 2 1 0 0 1 I4 1 I5 1
  • 19. I1 I2 I5 TID Item ID’s 2 T100 I1, I2, I5 1 1 T200 I2, I4 T300 I1, I2 T400 I2, I5 I2 I5 I4 2 1 0 0 1 I4 1 I5 1
  • 20. I2 I5 I1 TID Item ID’s 2 T100 I1, I2, I5 1 1 T200 I2, I4 1 0 T300 I1, I2 T400 I2, I5 I2 I5 I4 3 1 0 0 1 I4 1 I5 2
  • 21. I2 I5 I1 TID Item ID’s 2 T100 I1, I2, I5 1 1 T200 I2, I4 1 0 T300 I1, I2 T400 I2, I5 I2 I5 I4 4 1 0 Final Data 0 1 Structure I4 1 1 0 I5 2
  • 22. Counting I2 I5 I1 Frequent Item 2 Sets 1 1 No. of Items Frequent Item 1 0 Sets 1 I1, I2, I5 I2 I5 I4 4 2 I1-I2, I2-I5 1 0 3 - 0 1 Minimum Support = 2 I4 1 1 0 I5 2
  • 23. Counting I2 I5 I1 Frequent Item 2 Sets 1 1 1 No. of Items Frequent Item 0 1 0 Sets 1 I1, I2, I5 I2 I5 I4 4 2 I1-I2, I2-I5 1 0 0 3 - 0 1 0 Minimum Support = 2 I4 0 1 1 0 I5 2
  • 25.
  • 26. Insights • The algorithm performs better than Apriori in most scenarios. • Data structure generation dominates the total time in most cases. • As an aside… • Can this be made to a distributed mining algorithm?
  • 27. Turns out this can be done rather easily. Algorithm lends to map reduce like distributed processing.. Each master array index is self contained.. I1 I2 I5 2 1 1 1 0 So can be mined in parallel. Data structure generation  Map phase Result accumulation -> Reduce phase
  • 28. What Does Future Hold? • Make this distributed. • Java not the best of options. Use C so we can control memory allocations the way we want. • Experiment with bitmap compression techniques.