Misclassification Cost-Sensitive Software Defect Prediction

被引:4
作者
Xu, Ling [1 ,2 ]
Wang, Bei [1 ]
Liu, Ling [2 ]
Zhou, Mo [1 ]
Liao, Shengping [1 ]
Yan, Meng [3 ]
机构
[1] Chongqing Univ, Sch Software Engn, Chongqing, Peoples R China
[2] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
[3] Zhejiang Univ, Coll Comp Sci & Technol, Hangzhou, Zhejiang, Peoples R China
来源
2018 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION (IRI) | 2018年
基金
中国博士后科学基金; 中国国家自然科学基金;
关键词
software defect prediction; cost-sensitive; semi-supervised; unsupervised sampling;
D O I
10.1109/IRI.2018.00047
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Software defect prediction helps developers focus on defective modules for efficient software quality assurance. A common goal shared by existing software defect prediction methods is to attain low classification error rates. These proposals suffer from two practical problems: (i) Most of the prediction methods rely on a large number of labeled training data. However, collecting labeled data is a difficult and expensive task. It is hard to obtain classification labels over new software projects or existing projects without historical defect data. (ii) Software defect datasets are highly imbalanced. In many real-world applications, the misclassification cost of defective modules is generally several times higher than that of non-defective ones. In this paper, we present a misclassification Cost-sensitive approach to Software Defect Prediction (CSDP). The CSDP approach is novel in two aspects: First, CSDP addresses the problem of unlabeled software detect datasets by combining an unsupervised sampling method with a domain specific misclassification cost model. This preprocessing step selectively samples a small percentage of modules through estimating their classification labels. Second, CSDP builds a cost-sensitive support vector machine model to predict defect-proneness of the rest of modules with both overall classification error rate and domain specific misclassification cost as quality metrics. CSDP is evaluated on four NASA projects. Experimental results highlight three interesting observations: (1) CSDP achieves higher Normalized Expected Cost of Misclassification (NECM) compared with state-of-art supervised learning models under imbalanced training data with limited labeling. (2) CSDP outperforms state-of-art semi-supervised learning methods, which disregards classification costs, especially in recall rate. (3) CSDP enhanced through unsupervised sampling as a preprocessing step prior to training and prediction outperforms the baseline CSDP without the sampling process.
引用
收藏
页码:256 / 263
页数:8
相关论文
共 28 条
  • [1] [Anonymous], 2004, METRICS DATA PROGRAM
  • [2] Arar O. F., 2015, APPL SOFT COMPUTING, V33
  • [3] Catal Cagatay, 2011, EXPERT SYSTEMS APPL, V38
  • [4] Choosing software metrics for defect prediction: an investigation on feature selection techniques
    Gao, Kehan
    Khoshgoftaar, Taghi M.
    Wang, Huanjing
    Seliya, Naeem
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2011, 41 (05) : 579 - 606
  • [5] Software Defect Detection with Rocus
    Jiang, Yuan
    Li, Ming
    Zhou, Zhi-Hua
    [J]. JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2011, 26 (02) : 328 - 342
  • [6] Kamei Yasutaka, 2007, IEEE 1 INT S EMP SOF
  • [7] Khoshgoftaar T. M., 2002, P 8 IEEE S SOFTW MET
  • [8] Sample-based software defect prediction with active and semi-supervised learning
    Li, Ming
    Zhang, Hongyu
    Wu, Rongxin
    Zhou, Zhi-Hua
    [J]. AUTOMATED SOFTWARE ENGINEERING, 2012, 19 (02) : 201 - 230
  • [9] Three-way decisions based software defect prediction
    Li, Weiwei
    Huang, Zhiqiu
    Li, Qing
    [J]. KNOWLEDGE-BASED SYSTEMS, 2016, 91 : 263 - 274
  • [10] Li Y.-F., 2010, P NAT C ART INT