Unsupervised Domain Adaptation Based on Discriminative Subspace Learning for Cross-Project Defect Prediction
Open Access
- 1 January 2021
- journal article
- research article
- Published by Tech Science Press in Computers, Materials & Continua
- Vol. 68 (3) , 3373-3389
Abstract
Cross-project defect prediction (CPDP) aims to predict the defects on target project by using a prediction model built on source projects. The main problem in CPDP is the huge distribution gap between the source project and the target project, which prevents the prediction model from performing well. Most existing methods overlook the class discrimination of the learned features. Seeking an effective transferable model from the source project to the target project for CPDP is challenging. In this paper, we propose an unsupervised domain adaptation based on the discriminative subspace learning (DSL) approach for CPDP. DSL treats the data from two projects as being from two domains and maps the data into a common feature space. It employs cross-domain alignment with discriminative information from different projects to reduce the distribution difference of the data between different projects and incorporates the class discriminative information. Specifically, DSL first utilizes subspace learning based domain adaptation to reduce the distribution gap of data between different projects. Then, it makes full use of the class label information of the source project and transfers the discrimination ability of the source project to the target project in the common space. Comprehensive experiments on five projects verify that DSL can build an effective prediction model and improve the performance over the related competing methods by at least 7.10% and 11.08% in terms of G-measure and AUC.Keywords
This publication has 23 references indexed in Scilit:
- MAHAKIL: Diversity Based Oversampling Approach to Alleviate the Class Imbalance Issue in Software Defect PredictionIEEE Transactions on Software Engineering, 2018
- A Comparative Study to Benchmark Cross-Project Defect Prediction ApproachesIEEE Transactions on Software Engineering, 2017
- An Improved SDA Based Defect Prediction Framework for Both Within-Project and Cross-Project Class-Imbalance ProblemsIEEE Transactions on Software Engineering, 2016
- Label propagation based semi-supervised learning for software defect predictionAutomated Software Engineering, 2016
- HYDRA: Massively Compositional Model for Cross-Project Defect PredictionIEEE Transactions on Software Engineering, 2016
- Software defect prediction using cost-sensitive neural networkApplied Soft Computing, 2015
- Multiple kernel ensemble learning for software defect predictionAutomated Software Engineering, 2015
- Transfer learning for cross-company software defect predictionInformation and Software Technology, 2012
- On the relative value of cross-company and within-company data for defect predictionEmpirical Software Engineering, 2009
- Assessing the applicability of fault-proneness models across object-oriented software projectsIEEE Transactions on Software Engineering, 2002