The Analysis and Improvement of the Algorithm for Mining Association Rules
- Author
- LianJie
- Advisor
- LiXiongFei
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP301.6 Algorithm Theory
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 247
- Citations
- 2
- data mining
- association rules
- Improved Algorithm
- frequently
- 2 - itemsets
- Trie
- Multi frequent support
Abstract
In the recent more than ten years, the human ability of collecting and using data and information to produce is improved dramatically. The size of data expanded quickly. So people wish that there be a new generation techniques and tools to analyze these data intelligently and automatically, which is too large and has cost too much human efforts and money. So that we can find useful knowledge to support the decision-make. Facing the challenge of “drowning in data but starving for knowledge”, Data Mining emerges as the time requires and develops flourishingly. Data Mining means the process of nontrivial extraction of implicit, previous unknown and potentially useful information and knowledge from the large amount, incomplete, noisy, fuzzy and random data. There are many directions that data mining investigates, which include association, sequence or path analysis , classification, clustering, extraordinary and forecasting. The successful application of association rules in commerce area etc, make it to be the most ripe, most important and most sprightly data mining content. Association rules mining is one of the main subjects in this field, which is used to determine the relations among the attributes or objects, to find out credible and valuable dependencies among the fields. Such information can help store layout, shelf placement, discover customer shopping patterns and trends, improve the quality of customer service, achieve better customer retention and satisfaction, enhance goods consumption ratios, design more effective goods transportation and distribution policies, and reduce the cost of business. This paper through the deeply research and inquiry of the Apriori algorithm and DHP algorithm ,then develops a new improved algorithm. Let I={i<sub>1</sub>,i<sub>2</sub>,…,i<sub>m</sub>} be a set of items. Let D, the task-relevant data, be a set of database transactions where each transaction T is a set of items such that T?I. Each transaction is associated with an identifier, called TID. Let X be a set of items. A transaction T is said to contain X is and only if X?T. An association rule is an implication of the form X?Y, where X?I, Y?I, and X∩Y=?. The problem of discovering all association rules can be decomposed into two sub problems, first is to find all large itemsets, second is to use the large itemsets to generate the desired rules. The first step is the core problem, the performance of mining association rules is decided by the first step. In the unparallel association rules algorithms , the Apriori algorithm and the DHP algorithm is the more effective algorithm in consideration effectiveness. They all use a level-wise generation, where k-itemsets are used to explore (k+1)-itemsets. The finding of all frequent itemsets requires many scans of the database. To improve the efficiency of the level-wise generation of frequent itemsets, an important property called the Apriori property is used to reduce the search space. In order to use the Apriori property, all nonempty subsets of a frequent itemset must also be frequent. Apriori may suffer from two nontrivial costs: It may need to generate a huge number of candidate sets, and it may need to repeatedly scan the database and check a large set of candidates by pattern matching. In the process of frequent 1-itemsets to generate frequent 2-itemsets, the prune step doesn’t do anything because the subsets of the frequent 2-itemsets are all frequent 1-itemsets. So the scale of the frequent 2-itemsets are very huge, and will take more time and room to find the support through the scan of the database. It is a “bottleneck”in the Apriori algorithm. During the kth iteration, when the supports of all candidate k-itemsets are counted by scanning the database, DHP already gathers information about candidate itemsets of size k + 1 in such a way that all (k + 1)-subsets of each transaction after some pruning are hashed to a hash table. But the cost of generate L2 from C2 is also very big. we considered that it is unnecessary to generate the candidate 2-itemsets, we only need to design a data structure to store the support of all the possible candidate 2-itemsets. So we use an array e to store the frequent 1-itemsets , and use the suffix as the ID of the itemsets. We also design a similar array data structure to stort the support of candidate 2-itemsets ,and design a class called fre<sub>b</sub>in to store the ID of the itemset and store the address of the ID in the array. Using the structure of this, we need only two level loops to record the support of the candidate 2-itemsets. Do this ,we not only can save space, but also can generate all the frequent 2-itemset with one scan of the database. In future, it is unnecessary to join one frequent 2-itemset with all the frequent 2-itemset , but to join with the array contained in fixed range. From the research in the algorithms for mining association rules, we find that the general problems of these algorithms are that the number of the potentially large itemsets is huge and the scale of the data is not reduced in every pass. In this paper, we propose multi-frequent-segments support algorithm. This algorithm presents the idea of counting the support by segment, that is, the support of a itemset is counted by segment, each segment is the frequency of the itemset presented in the transactions of corresponding size, and all subsections form a support vector. Using the multi-frequent-segments support of the itemsets, strengthens the restriction of potentially large itemsets, getting more information in database scanning. Therefore, it could predict the value of some itemsets as the potentially large itemsets, remove the itemsets whose superset is not large itemsets in time, and reduce the scale of the candidate set, meanwhile reduce the scale of the database, and improve the efficiency of discovering large itemsets. Based on the idea of multi-frequent-segments support, the algorithm also proposes the concept of the seed itemset, generates candidate itemsets from seed itemsets. Since the scale of seed set is less than that of the corresponding large set, it reduces the size of candidate set generated. So this algorithm accelerate the process of the generation of frequent itemsets. Through the investigation of the scale of the itemsets, discovered that
Table of contents
Chapter 1 Introduction 7-11
1.1 research background 7-9
1.2 This work 9-10
1.3 The paper is organized structure 10-11
Chapter 2 Data mining 11-17
2.1 Definition of Data Mining 11
2.2 data mining research history and 11-12
2.3 data mining functionality 12-14
2.3.1 Concept description 12-13
2.3.2 Correlation Analysis 13
2.3.3 Classification and Prediction 13
2.3.4 Cluster analysis 13-14
2.3.5 Evolution and deviation analysis 14
2.4 data mining technology development 14-17
Chapter 3, association rule mining 17-23
3.1 Definition and association rule mining step 17-19
3.2 Classification of association rules 19
3.3 association rule mining method and its development direction 19-23
3.3.1 classical algorithm of association rules and its improved algorithm 20
3.3.2 unexpected or exceptional association rule mining 20
3.3.3 numeric attributes or quantitative association rule mining 20 - 21
3.3.4 limitations and constraints based on association rule mining 21
3.3.5 Parallel association rules mining 21
3.3.6 Multi-level association rule mining 21-22
3.3.7 Association Rules and other data mining algorithms combine 22
3.3.8 other directions 22-23 <br / > Chapter 4 Improved Apriori Algorithm and preliminary 23-37
4.1 Apriori algorithm 23-26
4.2 Apriori algorithm based on Hash table: DHP 26-30
4.2.1 DHP algorithm features 26-27
4.2.2 DHP algorithm description 27-30
4.3 an improved algorithm 30 - 36
4.3.1 Research problems and countermeasures 30-35
4.3.2 Experimental results 35-36
4.4 Chapter Summary 36 - 37
Chapter 5 Improved frequent itemsets solving 37-54
5.1 support multi-segment algorithms frequently 37-44
5.1.1 Basic principles and concepts 37-39
5.1.2 Algorithm 39-40
5.1.3 limit_gen function 40-41
5.1.4 JOIN function 41
5.1.5 Example 41-43
5.1.6 to determine the number of segments 43-44
5.2 trie tree-based frequent itemset Find 44 -51
5.2.1 variation of candidate itemsets [33] 44-45
5.2.2 pruning conditions relaxation 45
5.2.3 complete Proof 45-46
5.2.4 trie tree structure Introduction 46-47
5.2.5 using a trie structure to achieve quickly find frequent itemsets 47 - 51
5.3 Performance Analysis 51-53
5.4 Summary 53-54
Chapter 6 Full Summary 54-55
References 55-57
Appendix 57-63
Summary 63-66
ABSTRACT 66-69
Thanks 69-70
instructor and author 70
Related dissertations
- Research of Mining Technology Based on Association Rules and its Application in College Enrollment
- The Log Pattern Cluster Mining Algorithm Based on Prefix Tree
- Research on Application of data mining technology in university teaching quality monitoring and evaluation system.
- Research about Data Mining Technologies Based on Cloud Computing
- Research and Realization of Data Mining for University Asset
- Income-selling-store Management System Based on the Cmmi Specification and Ssh Framework
- Research on the Application of Data Mining Technology in Logistics CRM
- Student Score Association Analysis and Prediction of Hebei North College
- Based on Association Rules of the E-commerce Recommendation Intelligence System Research
- Application of Data Mining in College Student Management Systems
- Research and Application of Qualification Management System Based on Business Intelligence
- Association Rule Learning Algorithm Based on Extension
- The Application of Data Mining Technology in Public Security Police Information Management System
- The Research of Data Mining and Application in Telecommunication Negative Profit
- Method of the Personalized Recommendation in Library Management Systemn
- Research on Data Mining in the Process of Coal Mine Safety Training Game
- Application Research of Data Mining Technology in Secondary Vocational Teaching Evaluation
- Research on Distributed Mining of Association Rules Algorithm Based on MapReduce
- Research and Application of Time Series Association Rules Based on Fuzzy Set
- Research and Implementation of Personalized Movie Recommendation System