SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
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

Contenu connexe

En vedette

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
 

En vedette (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
 

Dernier

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
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
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
 

Dernier (20)

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
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
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
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
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...
 

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.