Association Rule Mining on Web
|
|
- Pierce Chase
- 6 years ago
- Views:
Transcription
1 Association Rule Mining on Web
2 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 Given a database of transactions, each transaction is a list of items (purchased by a customer in a visit or browsed by a user in a visit) You wonder: which groups of items are customers likely to purchase together on a given trip to a store or which groups of pages are users likely to browse together on a given trip to a web site? You may find: computer financial_management_software [support=2%, confidence=60%] Action: place financial management software close to computer display to increase sales of both of these items.
3 Data Mining Techniques - Association Rules Supermarket example Transaction ID Items Purchased 1 butter, bread, milk, beer, diaper 2 bread, milk, beer, egg, diaper 3 Coke, Film, bread, butter, milk An association rule will be like If a customer buys diapers, in 60% of cases, he/she also buys beers. This happens in 3% of all transactions. 60%: confidence 3%: support
4 Association Rule: Basic Concepts Association rule: Rule form: A Β [support, confidence] where A I, B I, A B= and I is a set of items (objects or events). support: probability that a transaction contains A and B P(AB) confidence: conditional probability that a transaction having A also contains B P(B A) Examples: buys(x, diapers ) buys(x, beers ) [0.5%, 60%] major(x, CS ) ^ takes(x, DB ) grade(x, A ) [1%, 75%] Applications? a particular product (What the store should do to boost sales of the particular product) Home Electronics? (What other products should the store stocks up?) Attached mailing in direct marketing
5 Association Rule: Basic Concepts Given a minimum support threshold (min_sup) and a minimum confidence threshold (min_conf), an association rule is strong if it satisfies both min_sup and min_conf. If min_sup = min_conf = 50%, A C C A A & C B A & B E (50%, 66.6%) (50%, 100%) (25%, 50%) (0%, 0%) Itemset: a set of items. k-itemset: an itemset that contains k items. Strong Strong {computer, financial_management_software} is a 2-itemset. Support count (frequency, count) of an itemset: number of transactions that contain the itemset. Frequent itemset: itemset that satisfies minimum support count. Minimum support count = min_sup total # of transactions in a data set.
6 Rule Measures: Support and Confidence support(a B) = P(A B) confidence(a B) = P(B A) Transaction ID Items Bought 2000 A,B,C 1000 A,C 4000 A,D 5000 B,E,F A C C A A & C B A & B E
7 Rule Measures: Support and Confidence support(a B) = P(A B) confidence(a B) = P(B A) Transaction ID Items Bought 2000 A,B,C 1000 A,C 4000 A,D 5000 B,E,F A C C A A & C B A & B E (50%, 66.6%) (50%, 100%) (25%, 50%) (0%, 0%)
8 How to Mine Association Rules A two-step process: Find all frequent itemsets Generate strong association rules from frequent itermsets. Example: given min_sup=50% and min_conf=50% Transaction ID Items Bought 2000 A,B,C 1000 A,C 4000 A,D 5000 B,E,F Frequent Itemset Support {A} 75% {B} 50% {C} 50% {A, C} 50% Generate strong rules: {A} {C} [support=50%, confidence=66.6%] {C} {A} [support=50%, confidence=100%]
9 Finding Frequent Itemsets: the Key Step The Apriori principle: Any subset of a frequent itemset must be frequent i.e., if {AB} is a frequent itemset, both {A} and {B} should be a frequent itemset Find the frequent itemsets: the sets of items that have minimum support Iteratively find frequent itemsets with cardinality from 1 to k (k-itemset), that is, find all frequent 1-itemsets. find all frequent 2-itemsets using frequent 1-itemsets. find all frequent k-itemsets using frequent (k-1)-itemsets.
10 The Apriori Algorithm Based on the Apriori principle, use iterative level-wise approach and candidate generation Pseudo-code: C k : a set of candidate itemsets of size k L k : the set of frequent itemsets of size k (Scan database to find all frequent L 1 = {frequent items}; 1-itemsets) for (k = 1; L k!= ; k++) do begin C k+1 = candidates generated from L k ; Scan database to for each transaction t in database do calculate support for each itemset in increment the count of all candidates in C k+1 C k+1 that are contained in t L k+1 = candidates in C k+1 with min_support end return k L k-1 ; Generation process: L k C k+1 L k+1
11 The Apriori Algorithm Example Database D TID Items Scan D (minimum support = 0.5) itemset sup. {1} 2 {2} 3 {3} 3 {4} 1 {5} 3 C 1 L 1 itemset sup {1 2} 1 {1 3} 2 {1 5} 1 {2 3} 2 {2 5} 3 {3 5} 2 C 2 C 2 L 2 itemset sup Scan D {1 3} 2 {2 3} 2 {2 5} 3 {3 5} 2 C 3 itemset Scan D L 3 {2 3 5} itemset sup {2 3 5} 2 itemset sup. {1} 2 {2} 3 {3} 3 {5} 3 itemset {1 2} {1 3} {1 5} {2 3} {2 5} {3 5}
12 Apriori Algorithm (Flow Chart) L 1 = set of frequent 1-itemset (scan DB) k=1 C k : set of candidate k- itemsets L k : set of frequent k- itemsets L k φ? Yes Compute candidate set C k+1 : C k+1 =join L k with L k prune C k+1 No Output L 1,, L k-1 Scan DB to get L k+1 from C k+1 k=k+1 Candidate set generation (get C k+1 from L k ) Prune candidate set based on Apriori principle Scan DB to get L k+1 from C k+1
13 Generate Association Rules from Frequent Itemsets Naïve algorithm: for each frequent itemset l do Support(l) = Freq(l)/Total for each nonempty subset c of l do if (support(l)/support(l-c) >= min_conf) output the rule (l-c) c, with support =support(l) and confidence=support(l)/support(l-c) Just an example! a frequent itemset: l={i1, I2, I5} nonempty subsets of l are {I1,I2}, {I1,I5}, {I2,I5}, {I1}, {I2}, {I5} resulting association rules: I1 I 2 I5, I1 I5 I 2, I 2 I5 I1, I1 I 2 I5, I 2 I1 I5, I5 I1 I 2, confidence = 50% confidence = 100% confidence = 100% confidence = 33% confidence = 29% confidence = 100% P(c l-c) If minimum confidence threshold is 70%, only 3 rules are output.
14 Is Apriori Fast Enough? Performance Bottlenecks The core of the Apriori algorithm: Use frequent k -itemsets to generate candidate frequent (k+1)- itemsets Use database scan and pattern matching to collect counts for the candidate itemsets to generate frequent (k+1)-itemsets from k+1 candidate set The bottleneck of Apriori: candidate generation Huge candidate sets: 10 4 frequent 1-itemset will generate more than 10 7 candidate 2-itemsets To discover a frequent pattern of size 100, e.g., {a 1, a 2,, a 100 }, one needs to generate candidates. Multiple scans of database: Needs n scans, n is the length of the longest pattern
15 Web Usage Mining - Clustering Clustering User Clusters Discover groups of users exhibiting similar browsing patterns Page Clusters Discover groups of pages having related content
16 Web Usage Mining - Classification Classification clients from state or government agencies who visit the site tend to be interested in the page company/product1 50% of clients who placed an online order in /company/product2, were in the age group and lived on the West Coast
17 Web Usage Mining - Sequential Patterns Sequential Patterns - 30 % of clients who visited /company/products, had done a search in Yahoo, within the past week on keyword w - 60 % of clients who placed an online order in /company/product1, also placed an online order in /company/product4 within 15 days
18 Pattern Analysis
19 Web Usage Mining - Pattern Analysis Not all patterns are interesting Some are downright misleading The goal of pattern analysis is to filter out information that is not useful and interesting.
20 Web Mining Applications E-commerce Generate user profiles Targeted advertising Fraud Similar image retrieval Building Adaptive Web Sites by User Profiling
21 Pattern Analysis Example 1 Interestingness measures Use interestingness measures to rank discovered rules or sequential patterns. Pruning Prune the discovered rules and patterns if they are contained by others with higher or comparable interestingness values. Prune uninteresting rules according to domain background knowledge.
22 Interestingness of Discovered Patterns Interestingness: Different people define interestingness differently. What is interesting depends on the type of knowledge discovered and user s belief. One definition: (not necessarily suitable for all situations) A pattern is interesting if it is easily understood by humans, valid on new or test data with some degree of certainty, potentially useful, and novel or validates some hypothesis that a user seeks to confirm Interestingness measures: Objective: based on statistics and depending on types of patterns Eg: support and confidence for association rules, classification accuracy for classification rules. Subjective: based on user s belief in the data, e.g., unexpectedness, novelty, actionability, or confirmation of a hypothesis, etc.
23 Interestingness Measures The following measures are used to evaluate an association rule A B, where A and B are itemsets, a sequential pattern A B, where B is the last element in the sequence and A is the subsequence in front of B. Support: P(AB) Confidence: P( B A) IS: P( AB) P( AB) P( A) P( B) CV: P( A) P( B) P( AB) RI: P( AB) P( A) P( B) MI: log 2 P( AB) P( A) P( B) MD: log P( A P( A B)(1 P( A B)(1 P( A B)) B)) C2: P ( B A) P( B) 1+ P( A B) * 1 P( B) 2 IM: log 2 P ( AB) Support( AB)
24 Pattern Analysis Example 2 Problem of association rule mining (rule quantity problem) A large number of rules are often generated and many of them are similar or redundant. Solutions Constraint-based mining post-pruning rules grouping rules Two grouping algorithms Objective grouping group rules according to rule structure; no domain knowledge is used Subjective grouping domain knowledge is used
25 Objective Grouping Basic idea Recursively group rules with common items in their antecedents and consequents. At each level of recursive call, select the cluster with the biggest size. Result: a tree of clusters All a d b a other ab d a d: other bcd ae b a d c ab cd abe d ac d
26 Subjective Grouping Basic idea group rules according to the semantic distance between rules. Domain knowledge used: a tree-structured semantic network of objects: a taxonomy or is-ahierarchy of objects An association rule can relate objects on both leaf and non-leaf levels. Cloth Cloth Shoes Footwear Outerwear Shirts Shoes Hiking Boots Jackets Ski Pants
27 Tagging the Semantic Tree Objectives Enable calculation of the semantic distance between rules by assigning a Relative Semantic Position (RSP) to each node of the tree. Two objects that are semantically closer to each other should be assigned two closer RSPs Definition of RSP of a node: (hpos, vpos) hpos: horizontal position of the node (position of the node in the balanced tree s in-order traversal sequence) vpos: vertical position of the node (the level of the node in the tree) (8, 1) (4, 2) (2, 3) (6, 3) (12, 2) (10, 3) (14, 3) (1, 4) (3, 4) (9, 4)
28 Representing Rules with RSPs Replace the objects in a rule with their RSPs {Jaket, Shirt} {Shoes} can be represented as {(1,4), (6, 3}) {(10,3)}. Calculate the mean RSPs of antecedent and consequent The above rule becomes (3.5, 3.5) (10, 3) (8, 1) Jacket (4, 2) (2, 3) (6, 3) Shirt Shoes (1, 4) (3, 4) (9, 4) (12, 2) (10, 3) (14, 3)
29 Representing Rules with Line Segments A rule can then be represented by a directed line segment in a two-dimensional space. For example, (3.5, 3.5) (10, 3) is represented as: 5 4 (1, 4) (3, 4) (9, 4) vpos (3.5, 3.5) (2, 3) (6, 3) (10, 3) (14, 3) (4, 2) (12, 2) (8, 1) hpos
30 Grouping Rules The problem of grouping rules becomes the problem of grouping directed line segments. Objective of clustering group line segments that are close to each other and have similar length and orientation. A standard clustering algorithm can be used with the distance function defined as Distance(s1,s2)= 1-cos(s1,s2) + Ndist(c1,c2)+Ndiff(length(s1),length(s2)) vpos hpos
31 Time and Location Time: Monday, December 11 th from 14:00pm to 16:00pm Location: DB 1004 (or TEL 1004)
32 Coverage of Final Week 1 (Objectives and introduction) Week 2 (CGI, form, HTML and XML) Week 3 (DTD, XML, XSL and servlets) Week 4 (Tomcat, Servlets and its lift cycle) Week 6 (Course project presentation week) Week 7 (Servlet and JSP) Week 8 (Recommendation systems and JDBC) Week 9 (E-commerce and digital signature) Week 10 (Web crawlers, Web search engine and their algorithms; indexer and inverted file ) Week 11 (Information retrieval and its models, Probabilistic information retrieval) Week 12 (System evaluation, Web mining and association rule learning)
33 Types of Final Exam Questions This exam is not a programming based exam. It will last for 2 hours. Types of questions, such as: multiple choice question answer true or false problem solving You should memorize some basic concepts and measures, and understand all the materials taught in our class. You should focus on the lecture notes.
34
35 Data Preprocessing
36 Data Preprocessing Example Session identification A session on the Web can be defined as a group of user activities that are related to each other to achieve a purpose. Session identification is to divide the object accesses of each user into individual sessions. UID Time ObjectIDs /29/2002-8:11:7 o /29/2002-8:11:10 o , o , o /29/2002-8:11:13 t12, t14, t /17/2002-7:37:14 o /17/2002-7:37:45 o /17/2002-7:37:52 o , o /17/2002-7:37:56 o /17/2002-7:38:14 o , o /17/2002-7:38:24 o /17/2002-7:38:29 o A sample for session
37 Data Preprocessing Example(Cont d) Session identification methods Standard timeout method (5, 10, 15, 20, 25 and 30 minutes) In this case, a session consists of a sequence of sets of objects requested by a single user such that no two consecutive requests are separated by an interval more than a predefined threshold. N-gram language modeling method a statistical method that was originally used in speech recognition for predicting the probability of a word sequence.
38 Language Model in Web Session Identification )... ( ) ( = = i n i l i i o o o P s P l i n i i l i o o o P )... ( = log 2 Perplexity Perplexity(s): Entropy(s): To predict the probability of the object sequence s = o 1 o 2 o l Language model N-gram model = = = l i i i l l o o o P o o o P o o o P o o P o P s P ) ( ) ( ) ( ) ( ) ( ) ( Session boundary detection Consider o 1 o 2 o l o l+1 If the difference between Entropy(o 1 o 2 o l) and Entropy(o 1 o 2 o l o l+1 ) is significant, there is a boundary between o l and o l+1 Chain rule
39 Smoothing Technique: Good-Turing Estimate A maximum likelihood estimate of n-gram probability from a corpus is given by: P( o i oi n oi 1) = #( o #( o i n+ 1 i n o... o i i 1 ) ) For any n-gram that occurs r times, we should pretend that it occurs r* times as follows: r* ( r + 1) Nr N where N r is the number of n-grams that occur exactly r times in the training data. + r 1
40 Entropy Evolution beginning of a session end of a session entropy sequence of log entries Perplexity: l l i= 1 1 P ( o o... o ) i i n+ 1 i 1 Entropy: log 2 Perplexity
41 Empirical Evaluation Objective Evaluating the effectiveness of language modeling based session detection method. Investigating the optimal order of n-gram language models and the influence of different smoothing techniques. Evaluation Asking domain experts to evaluate the discovered association rules according to the unexpectedness and actionability of the rules. Analyzing the entropy evolution curves of different smoothing methods.
42 Comparisons of Language Modeling and Timeout Methods for Association Rule Learning top 10 top 20 top 30 Average Precision % Timeout threshold top 10 top 20 top 30 Average Precision % timeout ABS GT LIN WB Method timeout language models
732A61/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 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 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. 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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)Rule Mining. Pekka Malo, Assist. Prof. (statistics) Aalto BIZ / Department of Information and Service Management
Association)Rule Mining Pekka Malo, Assist. Prof. (statistics) Aalto BIZ / Department of Information and Service Management What)is)Association)Rule)Mining? Finding frequent patterns,1associations,1correlations,1or
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 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 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 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 information1 [15 points] Frequent Itemsets Generation With Map-Reduce
Data Mining Learning from Large Data Sets Final Exam Date: 15 August 2013 Time limit: 120 minutes Number of pages: 11 Maximum score: 100 points You can use the back of the pages if you run out of space.
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 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 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 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 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 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 informationUnsupervised Learning. k-means Algorithm
Unsupervised Learning Supervised Learning: Learn to predict y from x from examples of (x, y). Performance is measured by error rate. Unsupervised Learning: Learn a representation from exs. of x. Learn
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 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 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 informationData mining, 4 cu Lecture 7:
582364 Data mining, 4 cu Lecture 7: Sequential Patterns Spring 2010 Lecturer: Juho Rousu Teaching assistant: Taru Itäpelto Sequential Patterns In many data mining tasks the order and timing of events contains
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 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 informationDescrip<ve data analysis. Example. E.g. set of items. Example. Example. Data Mining MTAT (6EAP)
25.2.5 Descrip
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 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 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 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 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 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 informationData preprocessing. DataBase and Data Mining Group 1. Data set types. Tabular Data. Document Data. Transaction Data. Ordered Data
Elena Baralis and Tania Cerquitelli Politecnico di Torino Data set types Record Tables Document Data Transaction Data Graph World Wide Web Molecular Structures Ordered Spatial Data Temporal Data Sequential
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 informationFP-growth and PrefixSpan
FP-growth and PrefixSpan n Challenges of Frequent Pattern Mining n Improving Apriori n Fp-growth n Fp-tree n Mining frequent patterns with FP-tree n PrefixSpan Challenges of Frequent Pattern Mining n Challenges
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 informationAlgorithmic Methods of Data Mining, Fall 2005, Course overview 1. Course overview
Algorithmic Methods of Data Mining, Fall 2005, Course overview 1 Course overview lgorithmic Methods of Data Mining, Fall 2005, Course overview 1 T-61.5060 Algorithmic methods of data mining (3 cp) P T-61.5060
More informationDetecting Anomalous and Exceptional Behaviour on Credit Data by means of Association Rules. M. Delgado, M.D. Ruiz, M.J. Martin-Bautista, D.
Detecting Anomalous and Exceptional Behaviour on Credit Data by means of Association Rules M. Delgado, M.D. Ruiz, M.J. Martin-Bautista, D. Sánchez 18th September 2013 Detecting Anom and Exc Behaviour on
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 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 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 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 informationProcessing Count Queries over Event Streams at Multiple Time Granularities
Processing Count Queries over Event Streams at Multiple Time Granularities Aykut Ünal, Yücel Saygın, Özgür Ulusoy Department of Computer Engineering, Bilkent University, Ankara, Turkey. Faculty of Engineering
More informationData Mining Techniques
Data Mining Techniques CS 6220 - Section 3 - Fall 2016 Lecture 21: Review Jan-Willem van de Meent Schedule Topics for Exam Pre-Midterm Probability Information Theory Linear Regression Classification Clustering
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 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 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 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 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 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 informationFrom statistics to data science. BAE 815 (Fall 2017) Dr. Zifei Liu
From statistics to data science BAE 815 (Fall 2017) Dr. Zifei Liu Zifeiliu@ksu.edu Why? How? What? How much? How many? Individual facts (quantities, characters, or symbols) The Data-Information-Knowledge-Wisdom
More informationCS246 Final Exam, Winter 2011
CS246 Final Exam, Winter 2011 1. Your name and student ID. Name:... Student ID:... 2. I agree to comply with Stanford Honor Code. Signature:... 3. There should be 17 numbered pages in this exam (including
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 informationCS738 Class Notes. Steve Revilak
CS738 Class Notes Steve Revilak January 2008 May 2008 Copyright c 2008 Steve Revilak. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation
More informationInterestingness Measures for Data Mining: A Survey
Interestingness Measures for Data Mining: A Survey LIQIANG GENG AND HOWARD J. HAMILTON University of Regina Interestingness measures play an important role in data mining, regardless of the kind of patterns
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 informationIntroduction Association Rule Mining Decision Trees Summary. SMLO12: Data Mining. Statistical Machine Learning Overview.
SMLO12: Data Mining Statistical Machine Learning Overview Douglas Aberdeen Canberra Node, RSISE Building Australian National University 4th November 2004 Outline 1 Introduction 2 Association Rule Mining
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