Analysis and application of parallel clustering algorithm based on Hadoop
- Author
- ChenAiPing
- Advisor
- Zuo
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 640
- Citations
- 0
Abstract
With the increasingly rapid development of computer technology and the rapidspread of the Internet, the data (including structured and unstructured text data) whichpeople in contact with is growing explosively. At present, how to effectively miningvaluable information from massive data is of great significance. Cluster analysis is oneof the core technologies of data mining. No matter from efficiency or from thecomputational complexity, the traditional single clustering algorithms have beenunable to meet the processing needs of massive information, cloud computingtechnology development provides a new research direction for cluster analysis.As an open source project of Apache, Hadoop is a distributed computingframework for building cloud platforms. Hadoop platform uses HDFS (distributed filesystem) to store data, and uses MapReduce programming model to implement parallelprocessing of massive data. According to the characteristics of traditional clusteringalgorithms, and the structure of MapReduce programming model, developers canimplement quick parallelization of clustering algorithms efficiently and easily, withoutpaying much attention to the specific communication of parallelization.In this thesis, lots of traditional clustering algorithms are analyzed and compared,and appropriate improvements are made about the randomicity of choosing initialclustering centers and the local optimum of clustering results. Further researches aremade on how to apply the improvements combining with Hadoop framework to therelated fields of practical projects. The results show that the improvements enable theefficiency of algorithms and the accuracy of clustering results to improve significantly.The focus of this thesis is summarized as follows:1) The study of MapReduce programming model, and analysis of the advantagesand disadvantages of the traditional K-means algorithm and canopy algorithm,the ideaof the twice clustering based on canopy algorithm(CTK) is proposed, the parallelframework of CTK on Hadoop is given, and detailed implementation is discribed.2) Analysis of the maximum and minimum distance algorithm, the idea ofK-means clustering based on maximum and minimum distance algorithm (MMKMEANS) is proposed. combined with the MapReduce programming framework,parallelization of MMKMEANS on Hadoop is implemented3) Analysis of the whole process of clustering for hot sports generated, researchthe strategy of nutch crawler technology to get webpage information, and the processof parallelization in which the parsed web content is converted to text vector thatprovides the experimental data for above algorithms, and give the parallelimplementation of clustering for hot spots generated.4) The experimental results verify the superiority of above algorithms in the textclustering in the area of the clustering quality, precision, the parallel speedup and soon.
Table of contents
Summary 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-16
1.1 Background and Significance topics 10 - 11
1.2 domestic situation analysis 11-15
1.3 thesis arrangements 15-16
chapter related technology research 16-30
2.1 Hadoop technology architecture 16-22
2.1.1 HDFS 16-19
2.1.1.1 Namenode and Datanode 17
2.1. reliability nbsp 1.2 data ; 17-18
2.1.1.3 data literacy strategy 18-19
2.1.1.4 HDFS defects 19
2.1 .2 MapReduce 19-22
2.1.2.1 MapReduce implementation process 19-21
2.1.2.2 MapReduce fault tolerance mechanisms 21-22
2.2 clustering technologies 22-29
2.2.1 cluster analysis similarity measure 22-24
2.2.1.1 distance metric 22-23
2.2.1.2 similarity coefficient measurement method 23-24
Research 2.2.2 clustering algorithm 24-27
2.2.2.1 clustering algorithm classification 24-25
2.2.2.2 K-means algorithm 25-26
2.2.2.3 canopy algorithm 26-27
2.2.3 clustering sampling techniques evaluation 27-28
2.2.4 clustering results 28-29
2.3 Summary 29-30
third Chapter clustering algorithm based on secondary canopy of thinking 30-53
3.1 CTK algorithm choose 30-33
3.1.1 initial cluster centers 30
3.1.2 clustering process 30-32
3.1.3 CTK algorithm basic processes 32-33
3.2 CTK parallel algorithm design 33 -39
3.3 CTK parallel algorithm implementation 39-46
3.4 algorithm complexity analysis 46
3.5 CTK algorithm application - hot generate 46-52
data preprocessing nbsp 3.5.1 ; acquisition and processing 47-50
3.5.1.1 Web information 47-49
3.5.1.2 vector space model calculation 49-50
3.5.2 hot extraction parallelization nbsp 50-51
3.5.3 hotspots generated ; 51-52
3.6 of this chapter Summary 52-53
Chapter IV K-means clustering algorithm based on the principle of maximum and minimum distance 53-69
4.1 MMKMEANS algorithm thoughts 53-56
select 4.1.1 initial cluster centers 53-55
4.1.1.1 sample extraction 53-54
4.1.1.2 candidate cluster centers Get 54-55
merger 4.1.1.3 neighboring class center 55
4.1.2 clustering process 55
4.1.3 MMKMEANS basic algorithm process 55-56
4.2 MMKMEANS parallel algorithm design 56-61
4.3 MMKMEANS parallel algorithm implementation 61-67
4.4 algorithm complexity analysis 67-68
4.5 MMKMEANS algorithm application - hot generate 68
4.6 Summary 68-69
Chapter experimental results and analysis 69-81
deploy 5.1 Hadoop clusters 69-70
5.1.1 hardware and software environment 69
5.1.2 deployment process 69-70
5.2 analysis of test results 70-80
5.2.1 clustering quality analysis 70-78
5.2.1.1 Evaluation 70-71
5.2.1.2 test sets and parameters 71-72
5.2.1.3 clustering analysis 72-75
5.2.1.4 precision and recall analysis 75-78
5.2.2 speedup analysis 78-79
5.2.3 hot show 79-80
5.3 summary 80-81
Chapter VI summary and Outlook summarize 81-83
6.1 text 81-82
6.2 future work 82-83
Thanks 83-84
References 84-87
master's project participants during 87-88
Related dissertations
- Parallel Clustering Algorithm Based on MapReduce
- Niche theory of market segmentation and evaluation based on financial products yuan
- Fault Detection Mechanism in the Cloud Environment
- Online New Event Detection for Large Scale Dataset
- Research and Implementation of Production Systems for Massive Rules
- An Improved Support Vector Data Description Algorithm
- Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
- Improved RBF Neural Networks for Multi-Label Classification
- Design and Realization of Information Navigation System Based on the Campus Network
- Web Information Crawler of Design and Implementation Based on Computing Cluster
- A Research on Personalized PageRank Based on MapReduce
- MicroBlog User Ranking Research Based on Hadoop
- Research on Key Technology of Hadoop-based Network Security Log Audit System
- Research on Traffic Based Botnet Detection Approaches
- Credibility-based Resource Scheduling Strategy under Cloud Platform
- Study and Implementation on Opinion Shift Detection Technology for Web Hot Event
- The Research of Distributed Indexing Scheme for Large-scale Semantic Data Based on Linked Data
- Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
- The Research and Realization of Scalable Co-Clustering Algorrithm Based on Mapreduce
- An Ontology-driven Approach for Distributed Information Processing in Supply Chain Environment