Research on Clustering Algorithms for Source Code Mining
- Author
- MengMeiZhi
- Advisor
- ZhangYang
- School
- Northwest University of Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 37
- Citations
- 0
Abstract
Source code data is characterized by massive data, many nominal attributes, and so on. In order to mine the software engineering data efficiently, we must utilize fast and efficient approach. With broad applications in many situations, K-means clustering is a concise and practical algorithm. However, it does not optimize the features of the samples and the result of the clustering is dissatisfactory and its efficiency largely depends on the distributions of samples. In order to solve the issues mentioned above, in this paper we proposed a KFCM algorithm based on TF-IDF to cluster source code data; meanwhile, we also otiptimize KFCM algorithm using genetic algorithm and devise a new algorithm called SGAKFCM. This new algorithm solves the problem of local minimum values inherited in KFCM algorithm. Finally, we utilize KFCM and SGAKFCM algorithms to mine source code data. The experimental results illustrate that the KFCM algorithm and SGAKFCM algorithm are suitable for large number of data, with high efficiency and good results.Main research issues of the paper are as follows:(1) KFCM algorithm based on TF-IDF. In this paper, because the KFCM algorithm cannot cluster text datas of sourcecode directly, we use the TF-IDF method to transform the text datas of sourcecode into numerical data, which addressed the problem of local optimization for KFCM.(2) We make use of SGAKFCM algorithm to cluster the TF-IDF format data, which solve the problem of local minimum values inherited in KFCM algorithm.We implemented KFCM and SGAKFCM algorithms based on Eclipse and Matlab platforms, and evaluated the algorithms on the source code of WEKA. Then, FCM, KFCM and SGAKFCM algorithms are used to analyze the output respectively. By comparing the results of the three clustering algorithms, we concluded that the KFCM algorithm has satisfactory clustering effects and high efficiency on software engineering data with nominal attributes.Experimental results show that KFCM algorithm based on TF-IDF can achieve satisfactory performance on source code mining. The main contributions of this paper include using TF-IDF to represent the source code data, adopting genetic algorithm to optimize KFCM algorithm to solve the problem of local minimum values inherited in KFCM algorithm.
Table of contents
Summary 5-6
ABSTRACT 6-10
first chapter 10-16
1.1 Background and significance 10 - 11
1.2 research status 11-14
1.2.1 China Research 11-12
1.2.2 domestic research 12 - 14
1.3 Research content 14
1.4 papers organizational structure 14-16
Chapter II Theory and Technology Introduction 16-26 <br / 2.1 Introduction to Data Mining 16-18
2.1.1 Data Mining defined 16
2.1.2 Data Mining main content 16-17
2.1.3 The data mining process 17-18
2.2 Cluster analysis Introduction 18-20
2.2.1 Cluster analysis defined 18-19 <br / > 2.2.2 cluster analysis process 19-20
2.3 kernel method and its associated knowledge About the 20-21
2.3.1 kernel method of SUMMARY 20 - 21
2.3.2 nuclear described 21
2.3.3 kernel function type commonly 21
2.4 Introduction of fuzzy clustering algorithm 21-23
2.5 nuclear status of fuzzy clustering algorithm 23
2.6 Introduction to Genetic Algorithms the 23-25 ??2.6.1 the basic concepts of the genetic algorithm
23 -24
2.6.2 The basic idea of ??the genetic algorithm 24
2.6.3 basic process of genetic algorithms 24-25
2.6.4 Genetic Algorithm in Data Mining in applications 25
2.7 Chapter Summary 25-26
Chapter the the KFCM algorithm method TF-IDF 26-34
3.1 source code mining process 26
3.2 data preprocessing 26-29
3.2.1 input model defined 27-28
3.2.2 the data extraction 28-29
3.3 TF-the IDF methods, and data conversion 29-32
3.3.1 TF-IDF method basic principle 29-30 < br /> 3.3.2 TF-IDF data conversion process the 30-32
3.4 source code clustering method based on TF-IDF KFCM algorithm 32-33
3.5 Chapter Summary 33-34
Chapter genetic algorithm is the the KFCM algorithm of optimization the 34-38
4.1 genetic algorithm the KFCM algorithm optimization process 34-37
4.2 KFCM algorithm SGAKFCM algorithms 37
4.3 Chapter Summary 37-38
Chapter experiment design and results 38 -45
5.1 development environment 38
of 5.2 experimental design the 38-44
5.2.1 Cluster Analysis 38-39
5.2 .2 experimental results 39-44
5.3 Chapter Summary 44-45
Chapter Summary and Outlook the 45-46
6.1 summarizes 45
6.2 Looking 45-46
Reference 46-49
thank the 49-50
Author 50
Related dissertations
- Research and Applications of the SVM Kernel Function Based on Weighted Variables
- Research on Intrusion Detection System Based on Improved Genetic Algorithm and Neural Networks
- Application Research on Data Mining Technology in the University Human Resources Scale
- Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
- Research of Short Selling Trading Strategies Based on Copula Theory
- The Effect of Investors’ Home Attention On Stock Return
- Foreground Transaction Operational Risk Warning System Research on Hunan Rural Credit Cooperative
- Research on the Problems and Countermeasures in System Operation of Basic Personal Credit Information Database
- Modeling and Optimization Method Research of Bundle-size Pricing for Online Content
- Predicting Customer Churn in Mobile Telecommunications
- The Accurate Narketing Platform Research Basing on Flow Business Data Mining of Shenxun Information Technology Company
- Research of Listing Corporation Financial Fraud Identification Model Based on Data Mining
- A Comparative Study of Financial Distress Warning of Listed Companies Bases on BP Neural Network and Logistic Model
- Churn Prediction in Telecommunications by Data Mining Technology
- A Research of Telecom Industry Customer Churn Management Based on Data Mining
- A Research of Telecom Industry CDMA Customer Credit Evaluation Based on Data Mining
- Study on Partner Selection and Coordination Problem in Green Supply Chain Network
- Research on the Model of Joint Managed Inventory Based on Genetic Algorithm with the OEM Enterprise
- Prediction and Evaluation Research of Customer Losing about the Telecom Operation Companies
- Research on B2C e-commerce Customer Segmentation Based on Two Step Clustering