Research on Machine Learning Based Software Defect Prediction
- Author
- MaYing
- Advisor
- LuoGuangChun
- School
- University of Electronic Science and Technology
- Major
- Computer System Architecture
- Classification
- TP311.53 Software Maintenance
- Degree
- Doctoral dissertation
- Year
- 2012
- Downloads
- 549
- Citations
- 1
- Software defect prediction
- machine learning
- transfer learning
- activelearning
- Semi-supervised learning
Abstract
Developing a good and stable software defect preditor has become a domesticand international scientific frontier, and attracts more and more attention of softwareindustry. We make an analysis of software defect prediction problem from a machinelearning perspective, where software characteristics are represented with static codefeatures and defect predictors are learned from historical defect logs. We observe thatthe present existing defect predictors have reached a limit performance, due to threemain problems in the application:(1) Data distributions are different among data sets,which come from different projects or different domains. Therefore, the predictor builtwith traditional method has weak adaptive ability.(2) Manual labeling defectivemodules is both costly and time consuming, so the positive data is limited. Recentapproaches are based on supervised learning algorithms, which learn predictors withlabeled data only. These methods cannot satisfy the requirements, since the limitedlabeled data are not enough to leaning predictors.(3) The software defect data arealways class imbalanced data where the number of positive examples is much higherthan that of others. Class imbalance problem has greatly influenced the performance ofthe defect predictor. In the thesis, we survey the state of the art in software defectprediction research, including motivations, progress, characteristics, and disadvantages.This thesis presents innovative and practical techniques for addressing the threeproblems mentioned above in software defect prediction as follows:(1) Research on predictive model on transfer learning methodUnlike the prior works selecting training data which are similar from the test data,we propose a novel algorithm called Transfer Naive Bays (TNB), by using theinformation of all the proper features in training data. Our solution estimates thedistribution of the test data, and transfers cross-company data information into theweights of the training data. On these weighted data, the defect prediction model is built.We also present a theoretical analysis for the comparative methods, and show theexperiment results on the data sets from different organizations. It indicates that TNB is more accurate in terms of AUC, within less runtime than the state of the art methods.(2) Research on predictive model on semi-supervised learning methodWe present an improved semi-supervised learning approach for defect predictioninvolving class imbalanced and limited labeled data problem. This approach employsrandom undersampling technique to resample the original training set and updatingtraining set in each round for co-train style algorithm. It makes the defect predictormore practical for real applications, by combating these problems. In comparison withconventional machine learning approaches, our method has significant superiorperformance. Experimental results also show that with the proposed learning approach,it is possible to design better method to tackle the class imbalanced problem insemi-supervised learning.(3) Active learning for software defect predictionWe introduce active learning strategies into the defect prediction. An activelearning method, called Two-stage Active Learning algorithm (TAL), is developed forsoftware defect prediction. Combining the clustering and support vector machinetechniques, this method improves the performance of the predictor with less labelingeffort. The experiments validate its effectiveness.(4) Kernel based asymmetric learning for software defect predictionA kernel based asymmetric learning method is developed for software defectprediction. Kernel method can deal with nonlinearly separable classification problemeffectively. We also analyse the effect of class imbalance problem on kernel principalcomponent analysis. The proposed method Asymmetric Kernel Principal ComponentClassification (AKPCC) improves the performance of the predictor on class imbalanceddata, since it is retrieve the loss caused by class imbalance problem, based on kernelprincipal component analysis. This method has better F-measure performance than otherwell-known methods.
Table of contents
Summary 5-7
ABSTRACT 7-9
directory 9-13
graphics directory 13-14
form directory 14-15
brief word table 15-17
main symbol table 17-19
first chapter 19 - challenge 29
1.1 software reliability facing 19-20
1.2 software defect prediction technology research content and significance 20-24
1.2.1 software defect prediction basic the concept 20-22
1.2.2 software defect prediction basic content of 22-23
1.2.3 software defect prediction research significance 23-24
1.3 the content of this paper and innovation 24-27
1.3.1 research 24-26
1.3.2 research and innovation 26 -27
1.4 thesis structure 27-29
Chapter II software defect prediction technologies 29-50
development 2.1 forecasting model 29 - 30
characteristic attributes 2.2 forecasting model 30-32
2.3 software defect prediction models and related algorithms 32-47
2.3.1 supervised learning based on defects prediction algorithm 32-39
2.3.1.1 prediction model based on the example of learning 33-34
2.3.1.2 prediction model based on decision tree 34-36
2.3.1.3 prediction model based on Bayesian 36-37
2.3.1.4 prediction model based on support vector machine 37-38
2.3.1.5 based integrated forecasting model 38-39
2.3.2 software defects based on unsupervised predictive models and related algorithms 39-42
2.3.3 software -based semi-supervised defect prediction model and related algorithms 42-43
2.3.4 regression model based software defect prediction method 43-45
2.3.5 defect prediction method based on attribute reduction 45-47
evaluation index nbsp 2.4 prediction model ; 47-49
2.5 Summary 49-50
Chapter III study based migration software defect prediction 50-72
3.1 transfer learning 50-52
3.1.1 Description 51-52
3.1.2 related research 52
3.2 software migration defect prediction learning model adaptability 52-55
3.2.1 prediction model explained 52-53
3.2.2 software defects learning models to predict migration 53-55
3.3 migration based on Bayesian learning algorithm 55-60
3.3.1 NB prediction algorithm 55-56
3.3.2 TNB algorithm 56-59
3.3.3 TNB algorithm analysis 59-60
3.4 experiments and analysis 60-71 <br / > 3.4.1 comparison of algorithms 60
3.4.2 introduction to Datasets 60-61
3.4.3 performance evaluation parameters 61-62 <br / > 3.4.4 experimental results and analysis 62-71
3.5 Summary 71-72
fourth chapter based on semi-supervised sampling and integrated software defect prediction 72-92
4.1 semi-supervised software defect prediction 72-78
4.1.1 semi-supervised software defect prediction model 72-74
4.1.2 semi-supervised learning Overview 74-77
4.1.3 semi-supervised learning problems of analysis 77-78
4.2 sampling and integrated forecasting algorithm based 78-83 <br / > 4.2.1 algorithm Description 78-81
4.2.2 -based classifier 81-82
4.2.3 algorithm Analysis 82-83 <br / > 4.3 experiments and analysis 83-91
4.3.1 dataset 83
4.3.2 experimental results 83-91
4.4 nbsp sections of this chapter ; 91-92
Chapter active learning based software defect prediction 92-101
5.1 background 92-94
5.2 two-stage active learning algorithm 94-98
5.2.1 The first stage to get representative data 95-96
5.2.2 The second stage access to critical information and data 96-98
5.3 experiments and analysis 98-100
5.4 Summary 100-101
Chapter VI of the nuclear theory based software defect prediction 101-117
6.1 defect prediction in class imbalance 101-103
significance 6.1.1 class imbalance problem 101-102
6.1.2 class does not solve methods balance of 102-103
6.2 nucleation theory 103-107
6.2.1 nucleation theory outlined 104-107
6.2.2 nbsp attribute reduction method based on nuclear theory ; 107
6.3 nbsp analysis classification algorithm based on non- symmetric kernel principal component ; 107-115
6.3.1 linear and nonlinear mapping mapping 107-108
6.3.2 kernel methods affect the class imbalance problem analysis 108-113
6.3.3 kernel principal component asymmetric classification algorithm 113 - 115
6.4 experiments and analysis measure 115-116
6.4.1 performance Evaluation 115
6.4.2 experimental results and analysis 115-116
6.5 summary 116-117
Chapter VII Conclusion 117-120
7.1 Full Summary 117-118
7.2 further study work 118-120
Thanks 120-121
References made ??during the attack Bo 121-132
research 132 - participated in the attack during the 133
Bo research 133-134
Related dissertations
- Research on Graph-based Semi-supervised Algorithms and Its Applications
- Semi-supervised Clustering and Feature Selection for Symbolic Data
- Research on Theory, Algorithms and Application of Graph-based Semi-supervised Learning
- Research on High-speed IP Service Awareness Based on Traffic Measurement
- Image Retrieval Research Based on Machine Learning
- Incremental Learning with Label Noise for Face Recognition
- Developing a Identifying System for Multi-dimensional Network Communities Based on Transfer Learning
- Semi-supervised Learning Based on Information Theory and Functional Dependency Rules of Probability
- Research and technology integration over data mining method
- Video semantic annotation methods and theories
- Research on Video Annotation with Machine Learning Techniques
- Multiple Kernel Learning Improved by Bi-objective Functions and Its Application to Semi-supervised Learning and Transfer Learning
- Semi-supervised Dimension Reduction and Fusion of Spectral and Textural Information for Hyperspectral Image
- Security Detection System Based on the Android Paltform
- The Research of High-level Stealing Strategy in RoboCup2D Based on Reinforcement Learning
- Differentially Private Empirical Risk Minimization Algorithm for β-mixing Sequences
- The Research in Deep Learning Model Based on Regularization
- Semi-supervised Classification Method Based on Support Vector Machines
- Embedding Machine Learning Algorithm into Weka
- Research on Heterogeneous Machine Learning for Cross-Domain Document Classification