Abstract

Cross-project defect prediction (CPDP), training a machine learning model by using training data from other projects, has attracted much attention in recent years. This approach provides a feasible way for small-scale or new developed project with insufficient training data to carry out defect prediction. This paper focus on the bottleneck issue of CPDP, poor accuracy, and propose a deep learning model integration-based approach (MTrADL) for CPDP. This paper consists of two main phases. First, the similarity between target project and source projects is measured by the modified maximum mean discrepancy (MMD) and the top K source projects with high similarity to the target project are selected as training data. Second, for the selected training data, this paper use convolutional neural network (CNN) to build the defect predictor. Each selected training data corresponds to one CNN predictor. Then, multiple predictors are integrated to get the final prediction result. To examine the performance of the proposed approach, this paper conduct experiments on 41 datasets of PROMISE and compare our approach with three state-of-the-art baseline approaches: a training data selection model (TDS), a two-stage transfer learning model (TPTL), and the multi-source transfer learning model (MTrA). The experimental results show that the average F1-score of our approach is 0.76. Across the 41 datasets, on average, MTrADL respectively improves these baseline models by 39.8%, 28.50%, and 10% in terms of F1-score.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.