An Implementation of K-Means Algorithm on GPU

Author
ChangJian
Advisor
ZhangJiaChen
School
Jilin University
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2012
Downloads
135
Citations
0

Request the full text

Abstract

Database mining techniques have been used by more and more companies fromthe huge amounts of data to identify with the company’s future development whichis most closely related to knowledge to assist decision makers to make the mostideal decision. As the traditional data mining algorithms, K-Means algorithm hasmany inadequacies in the computational, such as code amount is huge, slowconvergence and computing time-consuming. In recent years, the GPU (GraphicsProcessing Units) has high-speed development, the GPU is very suitable forlow-cost high-efficiency and high-performance parallel floating-pointcalculation, the GPGPU (General Purpose computation on Graphics Processing Units)is a graphics task which is professional graphics processor in the originalgeneral purpose computing tasks handled by the central processor. Modern GPUsare powerful parallel processing capabilities and programmable pipeline, makesit possible to use the stream processor to handle non-graphics data. So, if theK-Means algorithm ported to the GPGPU on, we could reduce the computation time.OpenCL (Open Computing Language) has its trademark rights by the Khronos workinggroup management, Apple is a platform-independent and truly heterogeneouscomputing resources in the sense of the solution and also is an important GPGPUsolutions.Speedup with the K-means algorithm will be based on the GPU OpenCL programmingmore effectively together, the better the K-Means algorithm proposed in thispaper based on the OpenCL parallel K-Means algorithm (OpenCL-based ParallelK-means, referred to as the OP the K-Means).Finally, according to the actual test case, the application of this article thedesign of parallel K-Means algorithm to cluster analysis and processing, asopposed to expensive multi-core CPU system, GPGPU architecture can reduce thepressure on business costs, greatly improve the speed of data mining operations.

Table of contents

Summary 4-5 Abstract 5-8 Chapter 1 Introduction 8-13 1.1 Purpose and significance 8 - 9 1.2 research status 9-11 1.2.1 data mining and clustering algorithms 9-10 1.2.2 K-Means 10 1.2.3 GPGPU and OpenCL 10-11 1.3 The main contents 11-13 Chapter 2 topics related technologies 13 - 24 2.1 K-Means algorithm 13-16 2.1.1 original K-Means algorithm 13-15 2.1.2 K-Means algorithm shortcomings 15-16 2.2 OpenCL development 16-24 2.2.1 OpenCL platform independent 17 2.2.2 OpenCL computing architecture 17-24 Chapter 3 OP K-Means algorithm issues 24-28 3.1 OP K-Means faced 24 3.2 to optimize the use of the triangle inequality algorithm 24-25 3.3 buffer memory and error 25-26 3.4 improved algorithm implementation process 26-28 Chapter 4 OP K detailed design -MEANS algorithm 28-41 4.1 function module is divided 28 4.2 parallel K-Means algorithm 28-30 4.2. a parallel K-Means algorithm is described 28-30 4.2.2 computational complexity 30 4.3 data structure 30-33 4.3.1 numElements 31 4.3.2 NUMCLUSTERS, DIMENSION 31 4.3.3 numWGroup, numThreads 31 4.3.4 application storage space 31-33 4.4 marks module design 33-36 4.4.1 marking module 33-35 4.4.2 triangle inequality 35-36 4.5 host code design 36-39 4.5.1 device initialization 36-38 4.5.2 GPU program starts 38 -39 4.6 Summary 39-41 Chapter 5 performance Test 41-47 5.1 test method designed 41-43 5.1.1 hardware environment select 41-43 5.1.2 test results comparing standard 43 5.2 test results and comparison 43-45 5.2.1 parallel and serial CPU CPU comparison 43-44 5.2.2 parallel GPU and CPU parallel comparison 44-45 5.3 GPU factors that affect the performance of the algorithm 45-46 5.4 results and summary 46-47 Chapter VI summary and Outlook 47-48 6.1 the main thesis work 47 6.2 prospects 47-48 References 48-50 Thanks 50

Related dissertations

  1. The Effect of Investors’ Home Attention On Stock Return
    ShenHanBin ·Zhejiang University ·2014 ·Master's thesis
  2. Foreground Transaction Operational Risk Warning System Research on Hunan Rural Credit Cooperative
    LiWenJun ·Hunan University ·2012 ·Master's thesis
  3. Research on the Problems and Countermeasures in System Operation of Basic Personal Credit Information Database
    NieMeiYing ·Ocean University of China ·2011 ·Master's thesis
  4. Predicting Customer Churn in Mobile Telecommunications
  5. The Accurate Narketing Platform Research Basing on Flow Business Data Mining of Shenxun Information Technology Company
  6. Research of Listing Corporation Financial Fraud Identification Model Based on Data Mining
    WeiRong ·Xi'an University of Petroleum ·2013 ·Master's thesis
  7. A Comparative Study of Financial Distress Warning of Listed Companies Bases on BP Neural Network and Logistic Model
  8. Churn Prediction in Telecommunications by Data Mining Technology
  9. A Research of Telecom Industry Customer Churn Management Based on Data Mining
  10. A Research of Telecom Industry CDMA Customer Credit Evaluation Based on Data Mining
  11. Prediction and Evaluation Research of Customer Losing about the Telecom Operation Companies
    ChiZhun ·Harbin Engineering University ·2013 ·Doctoral dissertation
  12. Research on B2C e-commerce Customer Segmentation Based on Two Step Clustering
    LiJian ·Dongbei University of Finance ·2013 ·Master's thesis
  13. Analysis of the Characteristics of Life Insurance Agents Who Leave
  14. The Research on Customer Segmentation and Strategy on Digital Marketing of MSD Pharmaceutical Company
  15. A Study Upon the Changes of Earnings Rate after the Issuing of Increase and Bonus
  16. The Application and Research of Data Mining in Stock Analysis
  17. Stock Price Index Analysis and Prediction Based on Data Mining Technology
  18. The Efficiency of Insurance Customer Relationship Management
    WangHongTao ·Nankai University ·2012 ·Doctoral dissertation
  19. Comparative Study on the Regional Competitiveness of Chinese Province Based on the Old and New Methods
  20. Research on College Graduates Employment Network Information Service Model
    XuXiaoJuan ·Anhui University of Finance ·2012 ·Master's thesis