Associa'on Rule Mining
|
|
- May Waters
- 5 years ago
- Views:
Transcription
1 Associa'on Rule Mining Debapriyo Majumdar Data Mining Fall 2014 Indian Statistical Institute Kolkata August 4 and 7,
2 Market Basket Analysis Scenario: customers shopping at a supermarket Transaction id Items 1 Bread, Ham, Juice, Cheese, Salami, Lettuce 2 Rice, Dal, Coconut, Curry leaves, Coffee, Milk, Pickle 3 Milk, Biscuit, Bread, Salami, Fruit jam, Egg 4 Tea, Bread, Salami, Bacon, Ham, Sausage, Tomato 5 Rice, Egg, Pickle, Curry leaves, Coconut, Red chilly What can we infer from the above data? An association rule: {Bread, Salami} à {Ham}, with confidence ~ 2/3 2
3 Applica'ons Information driven marketing Catalog design Store layout Customer segmentation based on buying patterns Several papers by Rakesh Agrawal and others in the 1990s Rakesh Agrawal and Ramakrishnan Srikant Fast Algorithms for Mining Association Rules The VLDB
4 The Market- Basket Model A (large) set of binary attributes, called items I = {i 1,, i n } e.g. milk, bread, the items sold at the market A transaction T consists of a (small) subset of I e.g. the list of items (bill) bought by one customer at once The database D is a (large) set of transactions D = {T 1,, T N } 4
5 The Market- Basket Model Goal: mining associations between the items The transactions or customers also may have associations, but here we are interested in such relations Approach: finding subset of items that are present together in transactions frequently An itemset: any subset X of I 5
6 Support of an Itemset Let X be an itemset Support count σ(x) = # of transactions containing all items of X support(x) = fraction of transactions containing all items of X support({bread, Salami}) = 0.6 support({rice, Pickle, Coconut}) = 0.4 T-ID Items 1 Bread, Ham, Juice, Cheese, Salami, Lettuce 2 Rice, Dal, Coconut, Curry leaves, Coffee, Milk, Pickle 3 Milk, Biscuit, Bread, Salami, Fruit jam, Egg 4 Tea, Bread, Salami, Bacon, Ham, Sausage, Tomato 5 Rice, Egg, Pickle, Curry leaves, Coconut, Red chilly Makes sense (statistically significant) only when support count is at least a few hundreds in a database of several thousand transactions 6
7 Associa'on Rule Association rule: an implication of the form X à Y where X, Y I, and X Y = ϕ. UI support(xà Y) = Transactions containing all items of both X and Y U σ(x U Y) D σ(x U Y) confidence(xà Y) = σ(x) T-ID Items 1 Bread, Ham, Juice, Cheese, Salami, Lettuce R : {Bread, Salami} à {Ham} 2 Rice, Dal, Coconut, Curry leaves, Coffee, Milk, Pickle 3 Milk, Biscuit, Bread, Salami, Fruit jam, Egg 4 Tea, Bread, Salami, Bacon, Ham, Sausage, Tomato 5 Rice, Egg, Pickle, Curry leaves, Coconut, Red chilly 2 support(r) = 5 confidence(r) = 2 3 7
8 Associa'on Rule Mining Task Given a set of items I, a set of transactions D, a minimum support thresholds minsup and a minimum confidence threshold minconf Find all rules R such that support(r) minsup confidence(r) minconf 8
9 One Approach Observe: support(x à Y) = = = support(z) where Z = X U Y σ(x U Y) D σ(z) D If Z = W U V, support(x à Y) = support(w à V) Each binary partition of Z represents an association rule With same support However, the confidences may be different Approach: frequent itemset generation 1. Find all itemsets Z with support(z) minsup. Call such itemsets frequent itemsets. 2. From each Z, generate rules with confidence(z) minconf 9
10 Finding Frequent Itemsets If I = n, then number of possible itemsets = 2 n For each itemset, compute the support by scanning the lists of items of each transaction O(N w), where w is the average length of transactions Overall complexity: O(2 n N w) Computationally very expensive!! 10
11 An'- monotone Property of Support If an itemset is frequent, all its subsets are also frequent Because if X Y, then support(x) support(y) For all transactions T such that Y T, we have X T Support({Bread, Salami}) Support({Bread, Ham, Salami}) T-ID Items 1 Bread, Ham, Juice, Cheese, Salami, Lettuce 2 Rice, Dal, Coconut, Curry leaves, Coffee, Milk, Pickle 3 Milk, Biscuit, Bread, Salami, Fruit jam, Egg 4 Tea, Bread, Salami, Bacon, Ham, Sausage, Tomato 5 Rice, Egg, Pickle, Curry leaves, Coconut, Red chilly 11
12 The A- Priori Algorithm Notation: L k = The set of frequent (large) itemsets of size k C k = The candidate set of frequent (large) itemsets of size. Algorithm: L 1 = {Frequent 1-itemsets}; for ( k = 2; L k 1 0; k++ ) do begin C k = apriori_gen(l k-1 ); /* Generating new candidates */ for all transactions T in D do begin C T = subset(c k,t) /* Keeping only the valid candidates */ for all candidates c in C T do c.count++; end L k = {c in C k c.count minsup} end Output = Union of all L k for k = 1, 2,, n 12
13 Genera'ng candidate itemsets L k A join of L k-1 with itself insert into C k select p.item 1, p.item 2,, p.item k-1, q.item k-1 from L k-1 p, L k-1 q where p.item 1 = q.item 1,, p.item k-2 = q.item k-2, p.item k-1 < q.item k-1 What does it do? L 3 L 3 {1, 2, 3} {1, 2, 3} {1, 2, 4} {1, 2, 4} {1, 3, 4} {1, 3, 4} {1, 3, 5} {1, 3, 5} {2, 3, 4} {2, 3, 4} C 4 = { {1, 2, 3, 4}, {1, 3, 4, 5} } A prune step: {1, 3, 4, 5} will be pruned because {1, 4, 5} L 3 13
14 Checking Support for candidates One approach: for each candidate itemset c C k for each transactions T D do begin check if c T end end Complexity? 14
15 Using a Hash Tree Let us have 12 candidate itemsets of size 3 {1 2 5}, {1 2 7}, {1 3 9}, {2 4 5}, {2 8 9}, {3 5 7}, {4 5 9}, {4 7 8}, {5 6 7}, {5 7 9}, {6 7 8}, {6 7 9} Hash function 1, 4, 7 3, 6, 9 2, 5, 8 15
16 The Hash Tree {1 2 5}, {1 2 7}, {1 3 9}, {2 4 5}, {2 8 9}, {3 5 7}, {4 5 9}, {4 7 8}, {5 6 7}, {5 7 9}, {6 7 8}, {6 7 9} Root 1, 4, 7 Hash Function 2, 5, 8 3, 6, 9 1,4,7+ 2,5,8+ 3,6,9+ {4 7 8} {1 2 7} {1 2 5} {1 3 9} {2 4 5} {2 8 9} {5 6 7} {6 7 8} {6 7 9} {3 5 7} {4 5 9} {5 7 9} 16
17 Subsets of the transac'on All subsets of size 3 for a transaction{ }, ordered by the item id Subsets starting with 1 { } { } { } {6 7 8} { } { } {1 7 8} { } {2 7 8} {1 2 6} {1 2 7} {1 2 8} {1 6 7} {1 6 8} Subsets starting with 12 {2 6 7} {2 6 8} Hashing in the same style 17
18 The Subset Opera'on using Hash Tree Transaction: { }, ordered by item id Hash Function { } { } Root {5 6 8} 1, 4, 7 2, 5, 8 3, 6, 9 1,4,7+ 2,5,8+ 3,6,9+ { } {4 7 8} {1 2 5} {1 2 7} {1 2 5} {1 3 9} {2 4 5} {2 8 9} {5 6 7} {6 7 8} {6 7 9} {3 5 7} {4 5 9} {5 7 9} 18
19 Where are we now? Computed frequent itemsets, i.e. the itemsets with required support minsup Each frequent k-itemset X gives rise to several association rules Ignoring X à ϕ and ϕ à X, 2 k 2 rules Rules generated from different itemsets are also different The rules need to be checked for minimum confidence All these rules already satisfy the support condition How many? 19
20 Rules Generated from the Same Itemset Let X Y, for non empty itemsets X, and Y Then X à Y - X is an association rule Theorem: If X X, then c(x à Y X) c(x à Y X ) Example: c({1 2 3} à {4 5}) c({1 2} à {3 4 5}) Proof. Observe: c(x à Y X) = σ(y)/σ(x) c(x à Y X ) = σ(y)/σ(x ) since X X, σ(x ) σ(x) so c(x à Y X) c(x à Y X ) Corollary: If X à Y X is not a high-confidence association rule, then X à Y X is also not a high confidence rule. n 20
21 Level- wise Approach for Rule Genera'on Frequent itemset: { } { } à {} {1 2 3} à {4} ý {1 2 4} à {3} {1 3 4} à {2} {2 3 4} à {1} ý {1 2} à {3 4} ý ý {1 3} à {2 4} {1 4} à {2 3} {2 3} à {1 4} {2 4} à {1 3} {3 4} à {1 2} ý {1} à {2 3 4} ý ý {2} à {1 3 4} {3} à {1 2 4} {4} à {1 2 3} Suppose {1 2 4} à {3} fails the confidence bar The whole tree under {1 2 4} à {3} can be discarded 21
22 Maximal Frequent itemsets Maximal frequent itemset: an itemset, for which none of its immediate supersets are frequent {} {1} {2} {3} {4} {1 2} {1 3} {1 4} {2 3} {2 4} {3 4} {1 2 3} {1 2 4} {1 3 4} {2 3 4} { } 22
23 Maximal Frequent itemsets Maximal frequent itemset: an itemset, for which none of its immediate supersets are frequent Not frequent {} {1} {2} {3} {4} {1 2} {1 3} {1 4} {2 3} {2 4} {3 4} {1 2 3} {1 2 4} {1 3 4} {2 3 4} { } 23
24 Maximal Frequent itemsets Maximal frequent itemset: an itemset, for which none of its immediate supersets are frequent Not frequent {} Maximal frequent {1} {2} {3} {4} {1 2} {1 3} {1 4} {2 3} {2 4} {3 4} {1 2 3} {1 2 4} {1 3 4} {2 3 4} { } 24
25 Maximal Frequent itemsets All frequent itemsets are subsets of one of the maximal frequent itemsets. Not frequent {} Maximal frequent {1} {2} {3} {4} {1 2} {1 3} {1 4} {2 3} {2 4} {3 4} {1 2 3} {1 2 4} {1 3 4} {2 3 4} { } 25
26 Maximal Frequent Itemsets Valuable compact representation of the frequent itemsets But Do not contain the support information of the subsets Says all supersets have lesser support, but does not say if any subset also has the same support 26
27 Closed Frequent Itemsets Closed itemset: an itemset X for which none of its immediate supersets has exactly the same support count as X If X is not closed, at least one of its immediate supersets have the same support as the support of X Closed frequent itemset: an itemset which is closed and frequent (support minsup) Support for non-closed frequent itemsets can be determined from the support information of the closed frequent itemsets Frequent itemsets Closed frequent itemsets Maximal frequent itemsets 27
28 Evalua'on of Associa'on Rules Even from a small dataset a very large number of rules can be generated For example, as support and confidence conditions are relaxed, number of rules explode Interestingness measure for patterns / rules is required Objective interestingness measure: a measure that uses statistics derived from the data Support, confidence, correlation, Domain independent Requires minimal human involvement 28
29 Subjec've Measure of Interes'ngness The rule {Salami} à {Bread} is not so interesting because it is obvious! Rules such as{salami} à {Dish washer detergent}, {Salami} à?{diper}, etc are less obvious Subjectively more interesting for marketing experts Non-trivial cross sell Methods for subjective measurement Visualization aided: human in the loop Template-based: constrains are provided for rules Filter obvious and non-actionable rules 29
30 Con'ngency Table Coffee Coffee Tea Tea B B A f 11 f 10 f 1+ A f 01 f 00 f 0+ f +1 f +0 Frequency tabulated for a pair of binary variables Used as a useful evaluation and illustration tool Generally: A (or B ) denotes the transactions in which A (or B) is absent f 1+ = support count of A f +1 = support count of B 30
31 Limita'ons of Support & Confidence Tuning the support threshold is tricky Low threshold Too many rules generated! High threshold Potentially interesting patterns may fall below the support threshold 31
32 Limita'on of Confidence Coffee Coffee Tea Tea Consider the rule: {Tea} à {Coffee} Support = 15% Confidence = 75% But: Overall 80% people have coffee i.e., the rule{} à {Coffee} has confidence 80%. Among tea takers, the percentage actually drops to 75%!! Where does it go wrong? Confidence measure ignores the support of Y for a rule X à Y 32
33 Interest factor Lift: Lift(X à Y) = c(x à Y) σ(y) For binary variables, lift is equivalent to interest factor s(x UY) Interest factor: I(X,Y) = = s(x) s(y) N f 11 f 1+. f +1 Similar to baseline frequency comparison under statistical independence assumption If X and Y are statistically independent, their baseline frequency (expected frequency of X and Y both occurring) is f 11 = f 1+. f +1 N 33
34 Interest factor Intuitively I(X,Y) = 1, if X and Y are independent > 1, if X and Y have a positive correlation < 1, if X and Y have a negative correlation Verify for the tea coffee example I(Tea, Coffee) = 0.15 / ( ) = 0.94 N f I = 11 f 1+. f +1 Coffee Coffee Tea Tea
35 Limita'on of Interest Factor Text Text Analysis Analysis Mining Mining Graph Graph Observe: I(Text, Analysis) = 1.02, I(Graph, Mining) = 4.08 Text and Analysis are more related than Graph and Mining Confidence measure: c(text à Analysis) = 94.6% c(graph à Mining) = 28.6% What goes wrong here? 35
36 More Measures Correlation coefficient for binary variables: IS Measure: I and S measures combined Mathematically equivalent to cosine measure of binary variables 36
37 Proper'es of Objec've Measures B B A f 11 f 10 f 1+ A f 01 f 00 f 0+ f +1 f +0 Inversion property: Invariant under inversion operation Exchange f 11 with f 00 and f 01 with f 10 The value of the measure remains the same Null addition property: Invariant under addition of counts for other variables, i.e. the value of the measure remains the same if f 00 is increased Which measures have which properties? 37
38 References Rakesh Agrawal and Ramakrishnan Srikant Fast Algorithms for Mining Association Rules VLDB 1994 Introduction to Data Mining, by Tan, Steinbach, Kumar The webpage: Chapter 6 is available online: 38
DATA MINING LECTURE 3. Frequent Itemsets Association Rules
DATA MINING LECTURE 3 Frequent Itemsets Association Rules This is how it all started Rakesh Agrawal, Tomasz Imielinski, Arun N. Swami: Mining Association Rules between Sets of Items in Large Databases.
More informationData Mining Concepts & Techniques
Data Mining Concepts & Techniques Lecture No. 04 Association Analysis Naeem Ahmed Email: naeemmahoto@gmail.com Department of Software Engineering Mehran Univeristy of Engineering and Technology Jamshoro
More informationLecture Notes for Chapter 6. Introduction to Data Mining
Data Mining Association Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 6 Introduction to Data Mining by Tan, Steinbach, Kumar Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004
More informationCSE 5243 INTRO. TO DATA MINING
CSE 5243 INTRO. TO DATA MINING Mining Frequent Patterns and Associations: Basic Concepts (Chapter 6) Huan Sun, CSE@The Ohio State University Slides adapted from Prof. Jiawei Han @UIUC, Prof. Srinivasan
More informationDATA MINING - 1DL360
DATA MINING - 1DL36 Fall 212" An introductory class in data mining http://www.it.uu.se/edu/course/homepage/infoutv/ht12 Kjell Orsborn Uppsala Database Laboratory Department of Information Technology, Uppsala
More informationChapter 6. Frequent Pattern Mining: Concepts and Apriori. Meng Jiang CSE 40647/60647 Data Science Fall 2017 Introduction to Data Mining
Chapter 6. Frequent Pattern Mining: Concepts and Apriori Meng Jiang CSE 40647/60647 Data Science Fall 2017 Introduction to Data Mining Pattern Discovery: Definition What are patterns? Patterns: A set of
More informationMeelis Kull Autumn Meelis Kull - Autumn MTAT Data Mining - Lecture 05
Meelis Kull meelis.kull@ut.ee Autumn 2017 1 Sample vs population Example task with red and black cards Statistical terminology Permutation test and hypergeometric test Histogram on a sample vs population
More informationCOMP 5331: Knowledge Discovery and Data Mining
COMP 5331: Knowledge Discovery and Data Mining Acknowledgement: Slides modified by Dr. Lei Chen based on the slides provided by Jiawei Han, Micheline Kamber, and Jian Pei And slides provide by Raymond
More informationDATA MINING - 1DL360
DATA MINING - DL360 Fall 200 An introductory class in data mining http://www.it.uu.se/edu/course/homepage/infoutv/ht0 Kjell Orsborn Uppsala Database Laboratory Department of Information Technology, Uppsala
More informationAssociation Rules. Fundamentals
Politecnico di Torino Politecnico di Torino 1 Association rules Objective extraction of frequent correlations or pattern from a transactional database Tickets at a supermarket counter Association rule
More informationCSE 5243 INTRO. TO DATA MINING
CSE 5243 INTRO. TO DATA MINING Mining Frequent Patterns and Associations: Basic Concepts (Chapter 6) Huan Sun, CSE@The Ohio State University 10/17/2017 Slides adapted from Prof. Jiawei Han @UIUC, Prof.
More informationOutline. Fast Algorithms for Mining Association Rules. Applications of Data Mining. Data Mining. Association Rule. Discussion
Outline Fast Algorithms for Mining Association Rules Rakesh Agrawal Ramakrishnan Srikant Introduction Algorithm Apriori Algorithm AprioriTid Comparison of Algorithms Conclusion Presenter: Dan Li Discussion:
More informationD B M G Data Base and Data Mining Group of Politecnico di Torino
Data Base and Data Mining Group of Politecnico di Torino Politecnico di Torino Association rules Objective extraction of frequent correlations or pattern from a transactional database Tickets at a supermarket
More informationData Mining: Concepts and Techniques. (3 rd ed.) Chapter 6
Data Mining: Concepts and Techniques (3 rd ed.) Chapter 6 Jiawei Han, Micheline Kamber, and Jian Pei University of Illinois at Urbana-Champaign & Simon Fraser University 2013 Han, Kamber & Pei. All rights
More informationD B M G. Association Rules. Fundamentals. Fundamentals. Elena Baralis, Silvia Chiusano. Politecnico di Torino 1. Definitions.
Definitions Data Base and Data Mining Group of Politecnico di Torino Politecnico di Torino Itemset is a set including one or more items Example: {Beer, Diapers} k-itemset is an itemset that contains k
More informationD B M G. Association Rules. Fundamentals. Fundamentals. Association rules. Association rule mining. Definitions. Rule quality metrics: example
Association rules Data Base and Data Mining Group of Politecnico di Torino Politecnico di Torino Objective extraction of frequent correlations or pattern from a transactional database Tickets at a supermarket
More informationIntroduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar
Data Mining Chapter 5 Association Analysis: Basic Concepts Introduction to Data Mining, 2 nd Edition by Tan, Steinbach, Karpatne, Kumar 2/3/28 Introduction to Data Mining Association Rule Mining Given
More informationData mining, 4 cu Lecture 5:
582364 Data mining, 4 cu Lecture 5: Evaluation of Association Patterns Spring 2010 Lecturer: Juho Rousu Teaching assistant: Taru Itäpelto Evaluation of Association Patterns Association rule algorithms
More information732A61/TDDD41 Data Mining - Clustering and Association Analysis
732A61/TDDD41 Data Mining - Clustering and Association Analysis Lecture 6: Association Analysis I Jose M. Peña IDA, Linköping University, Sweden 1/14 Outline Content Association Rules Frequent Itemsets
More informationAssociation Rule. Lecturer: Dr. Bo Yuan. LOGO
Association Rule Lecturer: Dr. Bo Yuan LOGO E-mail: yuanb@sz.tsinghua.edu.cn Overview Frequent Itemsets Association Rules Sequential Patterns 2 A Real Example 3 Market-Based Problems Finding associations
More informationChapters 6 & 7, Frequent Pattern Mining
CSI 4352, Introduction to Data Mining Chapters 6 & 7, Frequent Pattern Mining Young-Rae Cho Associate Professor Department of Computer Science Baylor University CSI 4352, Introduction to Data Mining Chapters
More informationCS 584 Data Mining. Association Rule Mining 2
CS 584 Data Mining Association Rule Mining 2 Recall from last time: Frequent Itemset Generation Strategies Reduce the number of candidates (M) Complete search: M=2 d Use pruning techniques to reduce M
More informationDATA MINING LECTURE 4. Frequent Itemsets and Association Rules
DATA MINING LECTURE 4 Frequent Itemsets and Association Rules This is how it all started Rakesh Agrawal, Tomasz Imielinski, Arun N. Swami: Mining Association Rules between Sets of Items in Large Databases.
More informationASSOCIATION ANALYSIS FREQUENT ITEMSETS MINING. Alexandre Termier, LIG
ASSOCIATION ANALYSIS FREQUENT ITEMSETS MINING, LIG M2 SIF DMV course 207/208 Market basket analysis Analyse supermarket s transaction data Transaction = «market basket» of a customer Find which items are
More informationFrequent Itemset Mining
ì 1 Frequent Itemset Mining Nadjib LAZAAR LIRMM- UM COCONUT Team (PART I) IMAGINA 17/18 Webpage: http://www.lirmm.fr/~lazaar/teaching.html Email: lazaar@lirmm.fr 2 Data Mining ì Data Mining (DM) or Knowledge
More informationData Analytics Beyond OLAP. Prof. Yanlei Diao
Data Analytics Beyond OLAP Prof. Yanlei Diao OPERATIONAL DBs DB 1 DB 2 DB 3 EXTRACT TRANSFORM LOAD (ETL) METADATA STORE DATA WAREHOUSE SUPPORTS OLAP DATA MINING INTERACTIVE DATA EXPLORATION Overview of
More informationCS 484 Data Mining. Association Rule Mining 2
CS 484 Data Mining Association Rule Mining 2 Review: Reducing Number of Candidates Apriori principle: If an itemset is frequent, then all of its subsets must also be frequent Apriori principle holds due
More informationThe Market-Basket Model. Association Rules. Example. Support. Applications --- (1) Applications --- (2)
The Market-Basket Model Association Rules Market Baskets Frequent sets A-priori Algorithm A large set of items, e.g., things sold in a supermarket. A large set of baskets, each of which is a small set
More informationAssociation Rules Information Retrieval and Data Mining. Prof. Matteo Matteucci
Association Rules Information Retrieval and Data Mining Prof. Matteo Matteucci Learning Unsupervised Rules!?! 2 Market-Basket Transactions 3 Bread Peanuts Milk Fruit Jam Bread Jam Soda Chips Milk Fruit
More informationFrequent Itemsets and Association Rule Mining. Vinay Setty Slides credit:
Frequent Itemsets and Association Rule Mining Vinay Setty vinay.j.setty@uis.no Slides credit: http://www.mmds.org/ Association Rule Discovery Supermarket shelf management Market-basket model: Goal: Identify
More informationAssociation Rules. Acknowledgements. Some parts of these slides are modified from. n C. Clifton & W. Aref, Purdue University
Association Rules CS 5331 by Rattikorn Hewett Texas Tech University 1 Acknowledgements Some parts of these slides are modified from n C. Clifton & W. Aref, Purdue University 2 1 Outline n Association Rule
More information.. Cal Poly CSC 466: Knowledge Discovery from Data Alexander Dekhtyar..
.. Cal Poly CSC 4: Knowledge Discovery from Data Alexander Dekhtyar.. Data Mining: Mining Association Rules Examples Course Enrollments Itemset. I = { CSC3, CSC3, CSC40, CSC40, CSC4, CSC44, CSC4, CSC44,
More informationMining Infrequent Patter ns
Mining Infrequent Patter ns JOHAN BJARNLE (JOHBJ551) PETER ZHU (PETZH912) LINKÖPING UNIVERSITY, 2009 TNM033 DATA MINING Contents 1 Introduction... 2 2 Techniques... 3 2.1 Negative Patterns... 3 2.2 Negative
More informationMachine Learning: Pattern Mining
Machine Learning: Pattern Mining Information Systems and Machine Learning Lab (ISMLL) University of Hildesheim Wintersemester 2007 / 2008 Pattern Mining Overview Itemsets Task Naive Algorithm Apriori Algorithm
More informationCOMP 5331: Knowledge Discovery and Data Mining
COMP 5331: Knowledge Discovery and Data Mining Acknowledgement: Slides modified by Dr. Lei Chen based on the slides provided by Tan, Steinbach, Kumar And Jiawei Han, Micheline Kamber, and Jian Pei 1 10
More informationDATA MINING LECTURE 4. Frequent Itemsets, Association Rules Evaluation Alternative Algorithms
DATA MINING LECTURE 4 Frequent Itemsets, Association Rules Evaluation Alternative Algorithms RECAP Mining Frequent Itemsets Itemset A collection of one or more items Example: {Milk, Bread, Diaper} k-itemset
More informationFrequent Itemset Mining
ì 1 Frequent Itemset Mining Nadjib LAZAAR LIRMM- UM COCONUT Team IMAGINA 16/17 Webpage: h;p://www.lirmm.fr/~lazaar/teaching.html Email: lazaar@lirmm.fr 2 Data Mining ì Data Mining (DM) or Knowledge Discovery
More informationReductionist View: A Priori Algorithm and Vector-Space Text Retrieval. Sargur Srihari University at Buffalo The State University of New York
Reductionist View: A Priori Algorithm and Vector-Space Text Retrieval Sargur Srihari University at Buffalo The State University of New York 1 A Priori Algorithm for Association Rule Learning Association
More informationAssociation Analysis. Part 1
Association Analysis Part 1 1 Market-basket analysis DATA: A large set of items: e.g., products sold in a supermarket A large set of baskets: e.g., each basket represents what a customer bought in one
More informationLars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany
Syllabus Fri. 21.10. (1) 0. Introduction A. Supervised Learning: Linear Models & Fundamentals Fri. 27.10. (2) A.1 Linear Regression Fri. 3.11. (3) A.2 Linear Classification Fri. 10.11. (4) A.3 Regularization
More informationIntroduction to Data Mining
Introduction to Data Mining Lecture #12: Frequent Itemsets Seoul National University 1 In This Lecture Motivation of association rule mining Important concepts of association rules Naïve approaches for
More information1. Data summary and visualization
1. Data summary and visualization 1 Summary statistics 1 # The UScereal data frame has 65 rows and 11 columns. 2 # The data come from the 1993 ASA Statistical Graphics Exposition, 3 # and are taken from
More informationAssignment 7 (Sol.) Introduction to Data Analytics Prof. Nandan Sudarsanam & Prof. B. Ravindran
Assignment 7 (Sol.) Introduction to Data Analytics Prof. Nandan Sudarsanam & Prof. B. Ravindran 1. Let X, Y be two itemsets, and let denote the support of itemset X. Then the confidence of the rule X Y,
More informationApriori algorithm. Seminar of Popular Algorithms in Data Mining and Machine Learning, TKK. Presentation Lauri Lahti
Apriori algorithm Seminar of Popular Algorithms in Data Mining and Machine Learning, TKK Presentation 12.3.2008 Lauri Lahti Association rules Techniques for data mining and knowledge discovery in databases
More informationAssociation Analysis: Basic Concepts. and Algorithms. Lecture Notes for Chapter 6. Introduction to Data Mining
Association Analysis: Basic Concepts and Algorithms Lecture Notes for Chapter 6 Introduction to Data Mining by Tan, Steinbach, Kumar Tan,Steinbach, Kumar Introduction to Data Mining 4/18/2004 1 Association
More informationCS5112: Algorithms and Data Structures for Applications
CS5112: Algorithms and Data Structures for Applications Lecture 19: Association rules Ramin Zabih Some content from: Wikipedia/Google image search; Harrington; J. Leskovec, A. Rajaraman, J. Ullman: Mining
More informationCS 412 Intro. to Data Mining
CS 412 Intro. to Data Mining Chapter 6. Mining Frequent Patterns, Association and Correlations: Basic Concepts and Methods Jiawei Han, Computer Science, Univ. Illinois at Urbana -Champaign, 2017 1 2 3
More informationUnit II Association Rules
Unit II Association Rules Basic Concepts Frequent Pattern Analysis Frequent pattern: a pattern (a set of items, subsequences, substructures, etc.) that occurs frequently in a data set Frequent Itemset
More informationAssociation Rule Mining on Web
Association Rule Mining on Web What Is Association Rule Mining? Association rule mining: Finding interesting relationships among items (or objects, events) in a given data set. Example: Basket data analysis
More informationData Mining and Analysis: Fundamental Concepts and Algorithms
Data Mining and Analysis: Fundamental Concepts and Algorithms dataminingbook.info Mohammed J. Zaki 1 Wagner Meira Jr. 2 1 Department of Computer Science Rensselaer Polytechnic Institute, Troy, NY, USA
More informationLecture Notes for Chapter 6. Introduction to Data Mining. (modified by Predrag Radivojac, 2017)
Lecture Notes for Chapter 6 Introduction to Data Mining by Tan, Steinbach, Kumar (modified by Predrag Radivojac, 27) Association Rule Mining Given a set of transactions, find rules that will predict the
More informationChapter 4: Frequent Itemsets and Association Rules
Chapter 4: Frequent Itemsets and Association Rules Jilles Vreeken Revision 1, November 9 th Notation clarified, Chi-square: clarified Revision 2, November 10 th details added of derivability example Revision
More informationData Warehousing & Data Mining
Data Warehousing & Data Mining Wolf-Tilo Balke Kinda El Maarry Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 9. Business Intelligence 9. Business Intelligence
More informationNetBox: A Probabilistic Method for Analyzing Market Basket Data
NetBox: A Probabilistic Method for Analyzing Market Basket Data José Miguel Hernández-Lobato joint work with Zoubin Gharhamani Department of Engineering, Cambridge University October 22, 2012 J. M. Hernández-Lobato
More informationDescrip9ve data analysis. Example. Example. Example. Example. Data Mining MTAT (6EAP)
3.9.2 Descrip9ve data analysis Data Mining MTAT.3.83 (6EAP) hp://courses.cs.ut.ee/2/dm/ Frequent itemsets and associa@on rules Jaak Vilo 2 Fall Aims to summarise the main qualita9ve traits of data. Used
More informationRemoving trivial associations in association rule discovery
Removing trivial associations in association rule discovery Geoffrey I. Webb and Songmao Zhang School of Computing and Mathematics, Deakin University Geelong, Victoria 3217, Australia Abstract Association
More informationEFFICIENT MINING OF WEIGHTED QUANTITATIVE ASSOCIATION RULES AND CHARACTERIZATION OF FREQUENT ITEMSETS
EFFICIENT MINING OF WEIGHTED QUANTITATIVE ASSOCIATION RULES AND CHARACTERIZATION OF FREQUENT ITEMSETS Arumugam G Senior Professor and Head, Department of Computer Science Madurai Kamaraj University Madurai,
More information1 Frequent Pattern Mining
Decision Support Systems MEIC - Alameda 2010/2011 Homework #5 Due date: 31.Oct.2011 1 Frequent Pattern Mining 1. The Apriori algorithm uses prior knowledge about subset support properties. In particular,
More informationMining Positive and Negative Fuzzy Association Rules
Mining Positive and Negative Fuzzy Association Rules Peng Yan 1, Guoqing Chen 1, Chris Cornelis 2, Martine De Cock 2, and Etienne Kerre 2 1 School of Economics and Management, Tsinghua University, Beijing
More informationData Mining. Dr. Raed Ibraheem Hamed. University of Human Development, College of Science and Technology Department of Computer Science
Data Mining Dr. Raed Ibraheem Hamed University of Human Development, College of Science and Technology Department of Computer Science 2016 2017 Road map The Apriori algorithm Step 1: Mining all frequent
More informationAssociation Analysis. Part 2
Association Analysis Part 2 1 Limitations of the Support/Confidence framework 1 Redundancy: many of the returned patterns may refer to the same piece of information 2 Difficult control of output size:
More informationData Warehousing & Data Mining
9. Business Intelligence Data Warehousing & Data Mining Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de 9. Business Intelligence
More informationFrequent Itemset Mining
1 Frequent Itemset Mining Nadjib LAZAAR LIRMM- UM IMAGINA 15/16 2 Frequent Itemset Mining: Motivations Frequent Itemset Mining is a method for market basket analysis. It aims at finding regulariges in
More informationHandling a Concept Hierarchy
Food Electronics Handling a Concept Hierarchy Bread Milk Computers Home Wheat White Skim 2% Desktop Laptop Accessory TV DVD Foremost Kemps Printer Scanner Data Mining: Association Rules 5 Why should we
More informationDescrip<ve data analysis. Example. E.g. set of items. Example. Example. Data Mining MTAT (6EAP)
25.2.5 Descrip
More informationAssociation Rules. Jones & Bartlett Learning, LLC NOT FOR SALE OR DISTRIBUTION. Jones & Bartlett Learning, LLC NOT FOR SALE OR DISTRIBUTION
CHAPTER2 Association Rules 2.1 Introduction Many large retail organizations are interested in instituting information-driven marketing processes, managed by database technology, that enable them to Jones
More information10/19/2017 MIST.6060 Business Intelligence and Data Mining 1. Association Rules
10/19/2017 MIST6060 Business Intelligence and Data Mining 1 Examples of Association Rules Association Rules Sixty percent of customers who buy sheets and pillowcases order a comforter next, followed by
More informationBasic Data Structures and Algorithms for Data Profiling Felix Naumann
Basic Data Structures and Algorithms for 8.5.2017 Overview 1. The lattice 2. Apriori lattice traversal 3. Position List Indices 4. Bloom filters Slides with Thorsten Papenbrock 2 Definitions Lattice Partially
More informationCS 5614: (Big) Data Management Systems. B. Aditya Prakash Lecture #11: Frequent Itemsets
CS 5614: (Big) Data Management Systems B. Aditya Prakash Lecture #11: Frequent Itemsets Refer Chapter 6. MMDS book. VT CS 5614 2 Associa=on Rule Discovery Supermarket shelf management Market-basket model:
More informationFUZZY ASSOCIATION RULES: A TWO-SIDED APPROACH
FUZZY ASSOCIATION RULES: A TWO-SIDED APPROACH M. De Cock C. Cornelis E. E. Kerre Dept. of Applied Mathematics and Computer Science Ghent University, Krijgslaan 281 (S9), B-9000 Gent, Belgium phone: +32
More informationarxiv: v1 [cs.db] 31 Dec 2011
Mining Flipping Correlations from Large Datasets with Taxonomies MarinaBarsky SangkyumKim TimWeninger JiaweiHan Univ. ofvictoria,bc,canada,marina barsky@gmail.com Univ.ofIllinoisatUrbana-Champaign, {kim71,weninger1,hanj}@illinois.edu
More informationDensity-Based Clustering
Density-Based Clustering idea: Clusters are dense regions in feature space F. density: objects volume ε here: volume: ε-neighborhood for object o w.r.t. distance measure dist(x,y) dense region: ε-neighborhood
More informationAssociation Analysis Part 2. FP Growth (Pei et al 2000)
Association Analysis art 2 Sanjay Ranka rofessor Computer and Information Science and Engineering University of Florida F Growth ei et al 2 Use a compressed representation of the database using an F-tree
More informationSelecting a Right Interestingness Measure for Rare Association Rules
Selecting a Right Interestingness Measure for Rare Association Rules Akshat Surana R. Uday Kiran P. Krishna Reddy Center for Data Engineering International Institute of Information Technology-Hyderabad
More informationAssociation Analysis 1
Association Analysis 1 Association Rules 1 3 Learning Outcomes Motivation Association Rule Mining Definition Terminology Apriori Algorithm Reducing Output: Closed and Maximal Itemsets 4 Overview One of
More informationData Warehousing. Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig
Data Warehousing & Data Mining Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de Summary How to build a DW The DW Project:
More informationSummary. 8.1 BI Overview. 8. Business Intelligence. 8.1 BI Overview. 8.1 BI Overview 12/17/ Business Intelligence
Summary Data Warehousing & Data Mining Wolf-Tilo Balke Silviu Homoceanu Institut für Informationssysteme Technische Universität Braunschweig http://www.ifis.cs.tu-bs.de How to build a DW The DW Project:
More informationDATA MINING - 1DL105, 1DL111
1 DATA MINING - 1DL105, 1DL111 Fall 2007 An introductory class in data mining http://user.it.uu.se/~udbl/dut-ht2007/ alt. http://www.it.uu.se/edu/course/homepage/infoutv/ht07 Kjell Orsborn Uppsala Database
More informationEncyclopedia of Machine Learning Chapter Number Book CopyRight - Year 2010 Frequent Pattern. Given Name Hannu Family Name Toivonen
Book Title Encyclopedia of Machine Learning Chapter Number 00403 Book CopyRight - Year 2010 Title Frequent Pattern Author Particle Given Name Hannu Family Name Toivonen Suffix Email hannu.toivonen@cs.helsinki.fi
More informationInteresting Patterns. Jilles Vreeken. 15 May 2015
Interesting Patterns Jilles Vreeken 15 May 2015 Questions of the Day What is interestingness? what is a pattern? and how can we mine interesting patterns? What is a pattern? Data Pattern y = x - 1 What
More informationMining Molecular Fragments: Finding Relevant Substructures of Molecules
Mining Molecular Fragments: Finding Relevant Substructures of Molecules Christian Borgelt, Michael R. Berthold Proc. IEEE International Conference on Data Mining, 2002. ICDM 2002. Lecturers: Carlo Cagli
More informationData Mining and Knowledge Discovery. Petra Kralj Novak. 2011/11/29
Data Mining and Knowledge Discovery Petra Kralj Novak Petra.Kralj.Novak@ijs.si 2011/11/29 1 Practice plan 2011/11/08: Predictive data mining 1 Decision trees Evaluating classifiers 1: separate test set,
More informationHigh Dimensional Search Min- Hashing Locality Sensi6ve Hashing
High Dimensional Search Min- Hashing Locality Sensi6ve Hashing Debapriyo Majumdar Data Mining Fall 2014 Indian Statistical Institute Kolkata September 8 and 11, 2014 High Support Rules vs Correla6on of
More informationQuantitative Association Rule Mining on Weighted Transactional Data
Quantitative Association Rule Mining on Weighted Transactional Data D. Sujatha and Naveen C. H. Abstract In this paper we have proposed an approach for mining quantitative association rules. The aim of
More informationDescriptive data analysis. E.g. set of items. Example: Items in baskets. Sort or renumber in any way. Example
.3.6 Descriptive data analysis Data Mining MTAT.3.83 (6EAP) Frequent itemsets and association rules Jaak Vilo 26 Spring Aims to summarise the main qualitative traits of data. Used mainly for discovering
More information15 Introduction to Data Mining
15 Introduction to Data Mining 15.1 Introduction to principle methods 15.2 Mining association rule see also: A. Kemper, Chap. 17.4, Kifer et al.: chap 17.7 ff 15.1 Introduction "Discovery of useful, possibly
More informationTemporal Data Mining
Temporal Data Mining Christian Moewes cmoewes@ovgu.de Otto-von-Guericke University of Magdeburg Faculty of Computer Science Department of Knowledge Processing and Language Engineering Zittau Fuzzy Colloquium
More information12 Count-Min Sketch and Apriori Algorithm (and Bloom Filters)
12 Count-Min Sketch and Apriori Algorithm (and Bloom Filters) Many streaming algorithms use random hashing functions to compress data. They basically randomly map some data items on top of each other.
More information3. Problem definition
3. Problem definition In this section, we first define a multi-dimension transaction database MD, to differentiate it between the transaction databases D in traditional association rules. Then, we discuss
More informationDistributed Mining of Frequent Closed Itemsets: Some Preliminary Results
Distributed Mining of Frequent Closed Itemsets: Some Preliminary Results Claudio Lucchese Ca Foscari University of Venice clucches@dsi.unive.it Raffaele Perego ISTI-CNR of Pisa perego@isti.cnr.it Salvatore
More informationKnowledge Discovery and Data Mining I
Ludwig-Maximilians-Universität München Lehrstuhl für Datenbanksysteme und Data Mining Prof. Dr. Thomas Seidl Knowledge Discovery and Data Mining I Winter Semester 2018/19 Agenda 1. Introduction 2. Basics
More informationSequential Pattern Mining
Sequential Pattern Mining Lecture Notes for Chapter 7 Introduction to Data Mining Tan, Steinbach, Kumar From itemsets to sequences Frequent itemsets and association rules focus on transactions and the
More informationFrequent Pattern Mining. Toon Calders University of Antwerp
Frequent Pattern Mining Toon alders University of ntwerp Summary Frequent Itemset Mining lgorithms onstraint ased Mining ondensed Representations Frequent Itemset Mining Market-asket nalysis transaction
More informationConstraint-Based Rule Mining in Large, Dense Databases
Appears in Proc of the 5th Int l Conf on Data Engineering, 88-97, 999 Constraint-Based Rule Mining in Large, Dense Databases Roberto J Bayardo Jr IBM Almaden Research Center bayardo@alummitedu Rakesh Agrawal
More informationGeovisualization for Association Rule Mining in CHOPS Well Data
UNIVERSITY OF CALGARY Geovisualization for Association Rule Mining in CHOPS Well Data by Xiaodong Sun A THESIS SUBMITTED TO THE FACULTY OF GRADUATE STUDIES IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR
More informationCS246: Mining Massive Datasets Jure Leskovec, Stanford University
CS246: Mining Massive Datasets Jure Leskovec, Stanford University http://cs246.stanford.edu 2/26/2013 Jure Leskovec, Stanford CS246: Mining Massive Datasets, http://cs246.stanford.edu 2 More algorithms
More informationMining Rank Data. Sascha Henzgen and Eyke Hüllermeier. Department of Computer Science University of Paderborn, Germany
Mining Rank Data Sascha Henzgen and Eyke Hüllermeier Department of Computer Science University of Paderborn, Germany {sascha.henzgen,eyke}@upb.de Abstract. This paper addresses the problem of mining rank
More informationStatistical Privacy For Privacy Preserving Information Sharing
Statistical Privacy For Privacy Preserving Information Sharing Johannes Gehrke Cornell University http://www.cs.cornell.edu/johannes Joint work with: Alexandre Evfimievski, Ramakrishnan Srikant, Rakesh
More informationCSE-4412(M) Midterm. There are five major questions, each worth 10 points, for a total of 50 points. Points for each sub-question are as indicated.
22 February 2007 CSE-4412(M) Midterm p. 1 of 12 CSE-4412(M) Midterm Sur / Last Name: Given / First Name: Student ID: Instructor: Parke Godfrey Exam Duration: 75 minutes Term: Winter 2007 Answer the following
More informationCS341 info session is on Thu 3/1 5pm in Gates415. CS246: Mining Massive Datasets Jure Leskovec, Stanford University
CS341 info session is on Thu 3/1 5pm in Gates415 CS246: Mining Massive Datasets Jure Leskovec, Stanford University http://cs246.stanford.edu 2/28/18 Jure Leskovec, Stanford CS246: Mining Massive Datasets,
More information