Abstract
Machine learning methods have been applied in software engineering to effectively predict software defects. Researchers proposed cross-project defect prediction (CPDP) for cases in which few or no data are available. CPDP uses the labeled data of a source project to construct a prediction model for the target project. However, the prediction performance remains inferior because the training data selection for the source project is ineffective. In this paper, the Jensen-Shannon divergence is first applied to automatically select the source project most similar to the target project. Subsequently, a grouped synthetic minority oversampling technique (SMOTE) is applied to improve the class imbalance of the projects. Finally, relative density estimation is performed to select the data for the source project. The experimental results demonstrate that the proposed method improves the prediction performance and exhibits high adaptability to different classifiers.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
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.