A Cluster Based Feature Selection Method for Cross-Project Software Defect Prediction
Autor: | Xiang Chen, Chao Ni, Qing Gu, Wangshu Liu, Qiguo Huang, Daoxu Chen |
---|---|
Rok vydání: | 2017 |
Předmět: |
021103 operations research
Heuristic business.industry Computer science 0211 other engineering and technologies 020207 software engineering Feature selection 02 engineering and technology computer.software_genre Computer Science Applications Theoretical Computer Science Software Computational Theory and Mathematics Software bug Ranking Hardware and Architecture Feature (computer vision) 0202 electrical engineering electronic engineering information engineering Data mining Cluster analysis business computer |
Zdroj: | Journal of Computer Science and Technology. 32:1090-1107 |
ISSN: | 1860-4749 1000-9000 |
DOI: | 10.1007/s11390-017-1785-0 |
Popis: | Cross-project defect prediction (CPDP) uses the labeled data from external source software projects to compensate the shortage of useful data in the target project, in order to build a meaningful classification model. However, the distribution gap between software features extracted from the source and the target projects may be too large to make the mixed data useful for training. In this paper, we propose a cluster-based novel method FeSCH (Feature Selection Using Clusters of Hybrid-Data) to alleviate the distribution differences by feature selection. FeSCH includes two phases. The feature clustering phase clusters features using a density-based clustering method, and the feature selection phase selects features from each cluster using a ranking strategy. For CPDP, we design three different heuristic ranking strategies in the second phase. To investigate the prediction performance of FeSCH, we design experiments based on real-world software projects, and study the effects of design options in FeSCH (such as ranking strategy, feature selection ratio, and classifiers). The experimental results prove the effectiveness of FeSCH. Firstly, compared with the state-of-the-art baseline methods, FeSCH achieves better performance and its performance is less affected by the classifiers used. Secondly, FeSCH enhances the performance by effectively selecting features across feature categories, and provides guidelines for selecting useful features for defect prediction. |
Databáze: | OpenAIRE |
Externí odkaz: |