Association)Rule Mining. Pekka Malo, Assist. Prof. (statistics) Aalto BIZ / Department of Information and Service Management
|
|
- Laurence Knight
- 6 years ago
- Views:
Transcription
1 Association)Rule Mining Pekka Malo, Assist. Prof. (statistics) Aalto BIZ / Department of Information and Service Management
2 What)is)Association)Rule)Mining? Finding frequent patterns,1associations,1correlations,1or causal structures among sets of1items or objects Proposed)by)Agrawal et)al.)(1993) Applications:)Shopping)basket)analysis,)crossDmarketing,)catalog)design,)lossDleader) analysis,)etc. Assumes)that)all)data)is)categorical Extensively)studied)in)data)mining)community Example:)buys(x,1 pizza )1! buys(x,1 beer ) 2
3 Market)basket)analysis)in)retail Do)the)demographics) of)the)neighborhood) affect)what)people)by?) What)would)you) expect)to)be)in)the) basket)and)what)not? Are)soft)alcoholic) drinks)often)bought) with)wine)and) chicken?)do)the) brands)matter? 4
4 Have)a)pop)tart)before)a)hurricane )and)a)beer)when)it s)over! 5
5 Examples)of)other)use)cases Telecom)business:)what1optional1services1are1purchased1by1 customers1and1how1they1can1be1bundled1to1maximize1revenue Banking:)can1the1knowledge1of1customers1current1use1of1banking1 services1(e.g.,1checking1accounts,1car1loans,1mortgages)1be1used1 to1identify1their1potential1demand1for1other1services Insurance: can1insurance1fraud1cases1be1detected1by1looking1at1 unusual1combinations1of1insurance1claims1or1other1attributes1that1 characterize1the1cases Medicare: do1the1medical1histories1of1patients1indicate1risks1of1 complications1that1may1need1attention1 6
6 Basic)concepts Set1of1items:1I =1{i 1,1i 2,1,1i m }.1 A1kUitemset is1an1itemset with1k1itemsv1e.g.1{milk,1bread,1butter}1is1a13u itemset Transaction1t:1set1of1items,1such1that1t! I Transaction1database1T =1set1of1transactions1=1{t 1,1t 2,1,1t n } Association1rule:1A)" B where1 A)# I,)B)# I,)A)$ B)=)% Association1rule1is a1pattern1which1states1that1if1a1occurs,1then1b1 occurs1with1a1certain1probability 7
7 Transaction)data In)market)basket)analysis,)transaction)data)is)commonly) point)of)sale)transactions - Information on what products customers have purchased at one visit - Typically the transaction data is accompanied by information on basket value and customer demographics + other data sources t1: citrus)fruit semi-finished)bread margarine ready)soups t2: tropical)fruit yogurt coffee t3: whole)milk t4: pip)fruit yogurt cream)cheese) meat)spreads t5: other)vegetables whole)milk condensed)milk long)life)bakery)product t6: whole)milk butter yogurt rice abrasive)cleaner 8
8 Examples)of)association)rules x1=1customer buys(x,11mobile1connection)1" buys(x,1phone1lease1and1internet1 connection) buys(x,1tablet1computer)1" buys(x,1tablet1cover) WARNING: an)interestingdlooking)rule)may)in)fact)turn)out)to)be) a)result)of)an)earlier)marketing)campaign)or)product)bundling 9
9 What)is)an)interesting)association)rule? Simple1enough1to1be1understood1e.g.,1by1using1background1 information1on1the1customers Unexpected1(i.e.,1not1generated1by1company s1marketing1behavior) Actionable:1e.g.,1you1can1create1a1marketing1campaign1using1this1 information 10
10 Measures)for)rule)strength Support)of)rule)A)" B is1the1probability1of1observing1a1transaction1 that1contains1all1items,1p({a,b}),1i.e.1in1a1given1transaction1set1we1 have support(a B) number of tuples containing both A and B total number of tuples Confidence)of)rule)A)" B is1the1conditional1probability1of1b1in1 transactions1that1contain1a,1p(b A),1i.e.1in1a1given1transaction1set1this1 corresponds1to confidence(a B) number of tuples containing both A and B number of tuples containing A 11
11 Venn)diagram Customer1who1buys1tablet1computer1also1 buys1a1cover1for1it A:1Customer1buys a1tablet1computer B:1Customer1buys a tablet1cover Support)=)P({A,B}) Confidence)=)P(B A) 12
12 Example:)support)and)confidence Transaction ID t1 t2 t3 t4 Example:) Items Bought A,B,C A,C A,D B,E,F Min.1support150% Min.1confidence150% Frequent Itemset Support {A} 75% {B} 50% {C} 50% {A,C} 50% Note:) support)for)itemset )(i.e.)count)of) transactions)with)itemset /)total)count) Support(A1" C)=support({A,C})=50% Confidence(A1" C)=support({A,C})/support({A})=66.6%1 13
13 Presemo TID Items 1 Bread,1Milk,1Diaper,1Beer 2 Bread,1Milk 3 Bread,1Milk,1Diaper,1Coke 4 Milk,1Diaper,1Beer,1Coke 5 Bread,1Diaper,1Beer,1Eggs Find1the1support1and1confidence1 for1the1rule {Milk,1Diaper}1=>1Beer 14
14 Association)Rule)Mining)Problem Assume)that)you)have)the)following: - Description of the itemset - Transaction database - Analyst s choices for minimum support and confidence Objective:)Find)all)association)rules)which)satisfy)the) requirements)of)minimum)support)and)confidence) Key)features: - Completeness: find all rules - No target item(s) on the right hand side (differs from decision trees!) 16
15 Common)strategy)for)association) mining 1.#Frequent#Itemset Generation: Find1all1itemsets that1have1minimum1support1(i.e.1 frequent1itemsets)1 can1be1expensive!! 2.#Rule#Generation: Generate1association1rules1based1on1the1frequent1 itemsets 17
16 Step)1:)Find)frequent)itemsets Enumeration1of1all1possible1 itemsets for1i1=1{a,b,c,d,e} null a b c d e Maximum1number1of1 potential1frequent1itemsets =12 k1 11! 31 ab ac ad abc abd abe ae acd bc bd be cd ce de ace ade bcd bce bde cde abcd abce abde acde bcde abcde Source:1 Introduction1to1Data1Mining 1by1Tan1et1al. 18
17 We)could)always)determine)the)support)count)for) every)candidate)itemset in)the)lattice)structure? 19
18 The)brute)force)approach Compute)support)count)for)every)candidate)itemset DD>)Each) candidate)should)be)compared)against)every)single) transaction! Candidates Transactions N TID Items Bread, Milk Bread, Diapers, Beer, Eggs Milk, Diapers, Beer, Coke Bread, Milk, Diapers, Beer Bread, Milk, Diapers, Coke M Computational1force1needed1~1O(N1x1max transaction width x1m)1 20
19 Number)of)possible)rules)=)3 d D 2 d R For)six)items,)i.e., d)=)6)! possible)rules)=)
20 Strategies)to)generate)frequent) itemsets Reduce)candidates)(M) Use pruning techniques instead of complete search Reduce)transactions)(N) E.g., vertical-based mining algorithms Reduce)number)of)comparisons)(M)x)N) No need to match every candidate against every transaction 22
21 The)Apriori Principle A)subset)of)a)frequent)itemset must)also)be)a)frequent)itemset " Frequent1itemsets can1be1found1iteratively1by1starting1from11u itemsets1and1progressing1to1kuitemsets Holds1due1to1 antiumonotone1property 1of1support1measure: i.e.1support1(s)1of1an1itemset can1never1be1larger1than1the1support1of1 its1subsets X, Y : ( X Y ) s( X ) s( Y ) 23
22 null A B C D E AB AC AD AE BC BD BE CD CE DE Found to be Infrequent ABC ABD ABE ACD ACE ADE BCD BCE BDE CDE ABCD ABCE ABDE ACDE BCDE Pruned supersets ABCDE Source:1 Introduction1to1Data1Mining 1by1Tan,1Steinbach,1Kumar 24
23 Example)adapted)from)Bing)Liu Notation:) TID Items {itemset}:countv1c=candidatesv1f=actually1frequent T100 1,13,14 T1=1transaction1database,1minimum1support1=10.5 T200 2,13,15 Procedure: T300 1,12,13,15 1.1scan1T1" C 1 :1 {1}:2,1{2}:3,1{3}:3,1{4}:1,1{5}:3 " F 1 :1 {1}:2,1{2}:3,1{3}:3, {5}:3 T400 2,15 " C 2 :1 {1,2},1{1,3},1{1,5},1{2,3},1{2,5},1{3,5} 2. scan1t1" C 2 :1 {1,2}:1,1{1,3}:2,1{1,5}:1,1{2,3}:2,1{2,5}:3,1{3,5}:2 " F 2 :11 {1,3}:2, {2,3}:2,1{2,5}:3,1{3,5}:2 " C 3 : {2,13,5} 3.1scan1T1" C 3 :1{2,)3,)5}:21" F 3:1 {2,)3,)5} 25
24 Issues)that)affect)performance Choice)of)minimum)support)threshold Lower thresholds increase the number of frequent itemsets Dimensionality:)number)of)items)in)the)dataset Requires more space to store support counts Computational burden Number)of)transactions) Algorithm requires multiple passes -> run time depends on size of database 26
25 Example:)Effect)of)lowering)support Support = 0.1% Support = 0.2% Support = 0.5% 3.5 Support = 0.1% Support = 0.2% Support = 0.5% Number of Candidate Itemsets Number of Frequent Itemsets Size of Itemset Size of Itemset Source:1 Introduction1to1Data1Mining 1by1Tan,1Steinbach,1Kumar 27
26 Example:)Effect)of)average)transaction)width Number of Candidate Itemsets Width = 5 Width = 10 Width = 15 Number of Frequent Itemsets Width = 5 Width = 10 Width = Size of Itemset Size of Itemset Source:1 Introduction1to1Data1Mining 1by1Tan,1Steinbach,1Kumar 28
27 Choice)of)support)threshold Support1distributions1are1often1skewed If1threshold1is1set1too1high,1interesting1rare1itemsets are1missed1 (e.g.,1luxury/expensive1products) If1threshold1is1set1too1low,1rule1mining1becomes1computationally1 expensive1and1amount1of1frequent1itemsets is1too1high Use1of1single1support1threshold1may1not1be1suitable1in1practice 29
28 Step)2:)Generate)rules)from)frequent) itemsets For1each1frequent1itemset and1every1nonepty subset,1create1the1 rules1that1meet1minimum1confidence1criteria Example:1{I1,I2,I5} - I1, I2 " I5 - I1, I5 " I2 - I2, I5 " I1 - I1 " I2, I5 - I2 " I1, I5 - I5 " I1, I2 for)each frequent1itemset I do for)each subset1c of1i do if)(support(i)1/1support(i U C)1>=1minconf)1then output)the1rule1(i U C)1" C, with)confidence1=1support(i)1/1support1(i U C) and1support1=1support(i) 30
29 Problem:)number)of)rules)grows) quickly If {A,B,C,D} is a frequent itemset, candidate rules: ABC D, ABD C, ACD B, BCD A, A BCD, B ACD, C ABD, D ABC AB CD, AC BD, AD BC, BC AD, BD AC, CD AB, If1k=size1of1itemset,1there1are12 k 21possible1association1rules1that1 can1be1generated1from1the1set! Note:1rules1with1empty1sets1are1ignored 31
30 Rule)pruning)with)Apriori Though1confidence1measure1is1not1generally1antimonotone,1it1has1this1 property1when1considering1rules)generated)from)the)same)itemset I1=1{A,B,C,D}: c(abc D) c(ab CD) c(a BCD) When1increasing1the1number1of1items1on1 Right1Hand1Side 1(RHS)1of1 the1rule,1the1confidence1cannot1increase. 32
31 Lattice of rules Low Confidence Rule ABCD=>{ } BCD=>A ACD=>B ABD=>C ABC=>D CD=>AB BD=>AC BC=>AD AD=>BC AC=>BD AB=>CD Pruned Rules D=>ABC C=>ABD B=>ACD A=>BCD Source:1 Introduction1to1Data1Mining 1by1Tan,1Steinbach,1Kumar 33
32 Also)other)measures)than)confidence) can)be)used) Confidence)difference Confidence)ratio Information)difference Normalized)ChiDSquare 34
33 User s Guide. Valuesarecalculatedbasedonthepriorconfidenceandtheposteriorconfidence, defined as defined as Confidence)difference Apriori offers several evalu measures will emphasize d Confidence Difference (Absolute ConfidenceDifferencetoPrior). This User s measureguide. is based Valuesarec on the simple difference of the posterior and prior and confidence values, defined as and where c is the support of the consequent, where a is c is the the support of the of the antecedent, and consequent, r is the a issupport the support of the conjunction of the antecedent andthe theconjunction consequent, of and then antecedent is the number andof the records consequent, in the and training data. training data. Rule Confidence. The default evaluation measure for rules is simply the posterior confidence of the rule, Reduces bias when outcomes are not evenly distributed; Helps to avoid obvious rules from being retained Rule Confidence. The default evaluation measure for rules where c is the support of th of the rule, the conjunction of the ante training data. Rule Confidence. The defau of the rule, 35
34 Confidence)ratio Confidence Ratio (Difference of Confidence Quotient to 1). This measure is based on the ratio of posterior confidence to prior confidence, Similar to confidence difference: takes uneven outcome distributions into account Should be good at finding rules that predict rare events! 36
35 Information)difference Information Difference (Information Difference to Prior). This measure is based on the information gain criterion, similar to that used in building C5.0 trees. The calculation is where r is the rule support, a is the antecedent support, c is the consequent support, is the complement of antecedent support, and is the complement of consequent support. If the probability of a particular consequent is considered as a logical value (bit), then information gain is the proportion of that bit that can be determined, based on the antecedents Takes support into account so that rules that cover more records are preferred 37
36 Normalized)ChiDSquare Normalized Chi-square (Normalized Chi-squared Measure). This measure is based on the chi-squared statistical test for independence of categorical data, and is calculated as Measures association between antecedents and consequents Even more strongly dependent on support than the information difference measure 38
37 Beyond)basics) Sequential)rule)mining Parallel)algorithms Rule)interestingness)and)visualization )and)a)lot)more) 39
38 Evaluation)of)rules
39 Association)vs.)causation Watch)out)for) the)rooster)syndrome Source:1http://scienceornot.net/2012/07/05/confusingUcorrelationUwithUcausationUroosterUsyndrome/ 43
40 44
41 Finding)rules)that)matter) Too)many)patterns,)what)to)do? Most)rules)are)uninteresting)or)redundant Need measures for interestingness (originally only support and confidence have been used) Interestingness Measure U Objective U Subjective U U U Method Ranking Filtering Summarizing 45
42 Presemo Coffee No)coffee Total Tea No1tea Total Tea1UU>1Coffee1? What)is)the)confidence)of)the)rule? Is)the)rule)reasonable? 46
43 Lift)/)Interest Coffee No)coffee Total Tea No1tea Total P(coffee1 1tea)1= % P(coffee1 1no1tea)1= 93.81% P(coffee)1= 901%!"#$ = &(( => *),(*) = -.(* ().(*) Lift1=1P(coffee1 1tea)1/1P(coffee)1=1 831% Lift1<111=>1negative1association Lift1=111=>1statistical1independence Lift1>111=>1positive1association 48
44 Drawback)with)Lift Tea1UU>1Coffee1? Coffee No1coffee Total Tea P(coffee1 1tea)1= % No1tea P(coffee1 1no1tea)1= 0.01% Total P(coffee)1= 101% Lift1= Coffee No1coffee Total Tea P(coffee1 1tea)1= % No1tea P(coffee1 1no1tea)1= 0.01% Total P(coffee)1= 901% Lift1=
45 Coverage)(antecedent)support) & ( * =,78(() 50
46 Leverage)(PiatetskyDShapiro) Example: 9:;:<=>: B Swim Not1swim Total Bike Not1bike Total P(Swim1and1Bike)1= P(Swim)1=1 0.6 P(Bike)1=1 0.7 P(Swim)1x1P(Bike)1=
47 Deployability Deployability: What1percentage1of1the1training1data1satisfies1the1 conditions1of1the1antecedent1but1does1not1satisfy1the1consequent? D:E9FG=HI9IJG- = RO9:-NOEEF<J-IK-#-FQ-<:LF<MN - SOTH:<-FQ-<:LJF<MN In1product1purchase1terms,1it1basically1means1what1percentage1of1the1 total1customer1base1owns1(or1has1purchased)1the1antecedent(s)1but1has1 not1yet1purchased1the1consequent.1 52
48 Source:1 Introduction1to1Data1Mining 1by1Tan,1Steinbach,1Kumar 53
49 Source:1 Introduction1to1Data1Mining 1by1Tan,1Steinbach,1Kumar 54
50 Subjective)measures Rule)is)interesting)if It is unexpected It is actionable Interestingness can be only judged by the user 55
51 From)rule)discovery)to)profiling) Source:1 Using1Data1Mining1Methods1to1build1customer1profiles 1by1G.1Adomavicius,1A.1Tuzhilin 56
52 Individual)data Factual/Demographic)+)Transactional)Data Source:1 Using1Data1Mining1Methods1to1build1customer1profiles 1by1G.1Adomavicius,1A.1Tuzhilin 57
53 Individual)rules Source:1 Using1Data1Mining1Methods1to1build1customer1profiles 1by1G.1Adomavicius,1A.1Tuzhilin 58
54 Examples)of)validation)operators SimilarityDbased)rule)grouping E.g., group rules by attribute similarity (club together rules of form Product => Store ) Inspect the groups of rules at once instead of evaluating individually TemplateDbased)rule)filtering Expert specifies accepting or rejecting rule templates E.g., accept all rules that have attribute Product in their bodies Redundant)rule)elimination Rules that don t offer additional value or are self-evident 59
CS 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 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 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 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 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 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 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 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 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 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 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 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 informationDescrip<ve data analysis. Example. E.g. set of items. Example. Example. Data Mining MTAT (6EAP)
25.2.5 Descrip
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 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 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 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 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 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 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 informationDescriptive data analysis. E.g. set of items. Example: Items in baskets. Sort or renumber in any way. Example item id s
7.3.7 Descriptive data analysis Data Mining MTAT.3.83 (6EAP) Frequent itemsets and association rules Jaak Vilo 27 Spring Aims to summarise the main qualitative traits of data. Used mainly for discovering
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 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 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 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 informationCSE4334/5334 Data Mining Association Rule Mining. Chengkai Li University of Texas at Arlington Fall 2017
CSE4334/5334 Data Mining Assciatin Rule Mining Chengkai Li University f Texas at Arlingtn Fall 27 Assciatin Rule Mining Given a set f transactins, find rules that will predict the ccurrence f an item based
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 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 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 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 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 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 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 informationST3232: Design and Analysis of Experiments
Department of Statistics & Applied Probability 2:00-4:00 pm, Monday, April 8, 2013 Lecture 21: Fractional 2 p factorial designs The general principles A full 2 p factorial experiment might not be efficient
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 informationCourse Content. Association Rules Outline. Chapter 6 Objectives. Chapter 6: Mining Association Rules. Dr. Osmar R. Zaïane. University of Alberta 4
Principles of Knowledge Discovery in Data Fall 2004 Chapter 6: Mining Association Rules Dr. Osmar R. Zaïane University of Alberta Course Content Introduction to Data Mining Data warehousing and OLAP Data
More informationsor exam What Is Association Rule Mining?
Mining Association Rules Mining Association Rules What is Association rule mining Apriori Algorithm Measures of rule interestingness Advanced Techniques 1 2 What Is Association Rule Mining? i Association
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 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 informationExercise 1. min_sup = 0.3. Items support Type a 0.5 C b 0.7 C c 0.5 C d 0.9 C e 0.6 F
Exercise 1 min_sup = 0.3 Items support Type a 0.5 C b 0.7 C c 0.5 C d 0.9 C e 0.6 F Items support Type ab 0.3 M ac 0.2 I ad 0.4 F ae 0.4 F bc 0.3 M bd 0.6 C be 0.4 F cd 0.4 C ce 0.2 I de 0.6 C Items support
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 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 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 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 informationFrequent Itemset Mining
Frequent Itemset Mining prof. dr Arno Siebes Algorithmic Data Analysis Group Department of Information and Computing Sciences Universiteit Utrecht Battling Size The previous time we saw that Big Data has
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 informationSet Notation and Axioms of Probability NOT NOT X = X = X'' = X
Set Notation and Axioms of Probability Memory Hints: Intersection I AND I looks like A for And Union U OR + U looks like U for Union Complement NOT X = X = X' NOT NOT X = X = X'' = X Commutative Law A
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 informationAssocia'on Rule Mining
Associa'on Rule Mining Debapriyo Majumdar Data Mining Fall 2014 Indian Statistical Institute Kolkata August 4 and 7, 2014 1 Market Basket Analysis Scenario: customers shopping at a supermarket Transaction
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 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 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 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 informationMath for Liberal Studies
Math for Liberal Studies We want to measure the influence each voter has As we have seen, the number of votes you have doesn t always reflect how much influence you have In order to measure the power of
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 informationFractional Factorials
Fractional Factorials Bruce A Craig Department of Statistics Purdue University STAT 514 Topic 26 1 Fractional Factorials Number of runs required for full factorial grows quickly A 2 7 design requires 128
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 informationDo in calculator, too.
You do Do in calculator, too. Sequence formulas that give you the exact definition of a term are explicit formulas. Formula: a n = 5n Explicit, every term is defined by this formula. Recursive formulas
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 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 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 informationDesign and Analysis of Multi-Factored Experiments
Design and Analysis of Multi-Factored Experiments Fractional Factorial Designs L. M. Lye DOE Course 1 Design of Engineering Experiments The 2 k-p Fractional Factorial Design Motivation for fractional factorials
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 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 informationLecture 3 : Probability II. Jonathan Marchini
Lecture 3 : Probability II Jonathan Marchini Puzzle 1 Pick any two types of card that can occur in a normal pack of shuffled playing cards e.g. Queen and 6. What do you think is the probability that somewhere
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 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 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 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 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 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 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 informationFractional designs and blocking.
Fractional designs and blocking Petter Mostad mostad@chalmers.se Review of two-level factorial designs Goal of experiment: To find the effect on the response(s) of a set of factors each factor can be set
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 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 informationStrategy of Experimentation III
LECTURE 3 Strategy of Experimentation III Comments: Homework 1. Design Resolution A design is of resolution R if no p factor effect is confounded with any other effect containing less than R p factors.
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 informationCHAPTER 5 KARNAUGH MAPS
CHAPTER 5 1/36 KARNAUGH MAPS This chapter in the book includes: Objectives Study Guide 5.1 Minimum Forms of Switching Functions 5.2 Two- and Three-Variable Karnaugh Maps 5.3 Four-Variable Karnaugh Maps
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 informationFour Paradigms in Data Mining
Four Paradigms in Data Mining dataminingbook.info Wagner Meira Jr. 1 1 Department of Computer Science Universidade Federal de Minas Gerais, Belo Horizonte, Brazil October 13, 2015 Meira Jr. (UFMG) Four
More informationLecture 2 31 Jan Logistics: see piazza site for bootcamps, ps0, bashprob
Lecture 2 31 Jan 2017 Logistics: see piazza site for bootcamps, ps0, bashprob Discrete Probability and Counting A finite probability space is a set S and a real function p(s) ons such that: p(s) 0, s S,
More informationMining Approximative Descriptions of Sets Using Rough Sets
Mining Approximative Descriptions of Sets Using Rough Sets Dan A. Simovici University of Massachusetts Boston, Dept. of Computer Science, 100 Morrissey Blvd. Boston, Massachusetts, 02125 USA dsim@cs.umb.edu
More informationExperimental design (DOE) - Design
Experimental design (DOE) - Design Menu: QCExpert Experimental Design Design Full Factorial Fract Factorial This module designs a two-level multifactorial orthogonal plan 2 n k and perform its analysis.
More informationTWO-LEVEL FACTORIAL EXPERIMENTS: REGULAR FRACTIONAL FACTORIALS
STAT 512 2-Level Factorial Experiments: Regular Fractions 1 TWO-LEVEL FACTORIAL EXPERIMENTS: REGULAR FRACTIONAL FACTORIALS Bottom Line: A regular fractional factorial design consists of the treatments
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 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 informationChapter 1 Problem Solving: Strategies and Principles
Chapter 1 Problem Solving: Strategies and Principles Section 1.1 Problem Solving 1. Understand the problem, devise a plan, carry out your plan, check your answer. 3. Answers will vary. 5. How to Solve
More informationConstruction of Mixed-Level Orthogonal Arrays for Testing in Digital Marketing
Construction of Mixed-Level Orthogonal Arrays for Testing in Digital Marketing Vladimir Brayman Webtrends October 19, 2012 Advantages of Conducting Designed Experiments in Digital Marketing Availability
More information3.4. A computer ANOVA output is shown below. Fill in the blanks. You may give bounds on the P-value.
3.4. A computer ANOVA output is shown below. Fill in the blanks. You may give bounds on the P-value. One-way ANOVA Source DF SS MS F P Factor 3 36.15??? Error??? Total 19 196.04 Completed table is: One-way
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 informationKarnaugh Map & Boolean Expression Simplification
Karnaugh Map & Boolean Expression Simplification Mapping a Standard POS Expression For a Standard POS expression, a 0 is placed in the cell corresponding to the product term (maxterm) present in the expression.
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 informationChapter 11: Factorial Designs
Chapter : Factorial Designs. Two factor factorial designs ( levels factors ) This situation is similar to the randomized block design from the previous chapter. However, in addition to the effects within
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 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 informationLECTURE 10: LINEAR MODEL SELECTION PT. 1. October 16, 2017 SDS 293: Machine Learning
LECTURE 10: LINEAR MODEL SELECTION PT. 1 October 16, 2017 SDS 293: Machine Learning Outline Model selection: alternatives to least-squares Subset selection - Best subset - Stepwise selection (forward and
More informationCPT+: A Compact Model for Accurate Sequence Prediction
CPT+: A Compact Model for Accurate Sequence Prediction Ted Gueniche 1, Philippe Fournier-Viger 1, Rajeev Raman 2, Vincent S. Tseng 3 1 University of Moncton, Canada 2 University of Leicester, UK 3 National
More information