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
基金
中国国家自然科学基金; 中国博士后科学基金;
关键词
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
相关论文
共 50 条
  • [1] Cost-sensitive Dictionary Learning for Software Defect Prediction
    Liang Niu
    Jianwu Wan
    Hongyuan Wang
    Kaiwei Zhou
    Neural Processing Letters, 2020, 52 : 2415 - 2449
  • [2] Cost-sensitive Dictionary Learning for Software Defect Prediction
    Niu, Liang
    Wan, Jianwu
    Wang, Hongyuan
    Zhou, Kaiwei
    NEURAL PROCESSING LETTERS, 2020, 52 (03) : 2415 - 2449
  • [3] Cost-Sensitive Local Collaborative Representation for Software Defect Prediction
    Wu, Fei
    Jing, Xiao-Yuan
    Dong, Xiwei
    Cao, Jicheng
    Xu, Baowen
    Ying, Shi
    2016 INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, TESTING AND EVOLUTION (SATE 2016), 2016, : 102 - 107
  • [4] Software Defect Prediction Based on Cost-Sensitive Dictionary Learning
    Wan, Hongyan
    Wu, Guoqing
    Yu, Mali
    Yuan, Mengting
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2019, 29 (09) : 1219 - 1243
  • [5] Cost-sensitive boosting neural networks for software defect prediction
    Zheng, Jun
    EXPERT SYSTEMS WITH APPLICATIONS, 2010, 37 (06) : 4537 - 4543
  • [6] Software defect prediction using cost-sensitive neural network
    Arar, Omer Faruk
    Ayan, Kursat
    APPLIED SOFT COMPUTING, 2015, 33 : 263 - 277
  • [7] Cost-Sensitive Feature Selection with Application in Software Defect Prediction
    Miao, Linsong
    Liu, Mingxia
    Zhang, Daoqiang
    2012 21ST INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR 2012), 2012, : 967 - 970
  • [8] Cost-Sensitive and Sparse Ladder Network for Software Defect Prediction
    Sun, Jing
    Ji, Yi-mu
    Liu, Shangdong
    Wu, Fei
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2020, E103D (05): : 1177 - 1180
  • [9] Two-Stage Cost-Sensitive Learning for Software Defect Prediction
    Liu, Mingxia
    Miao, Linsong
    Zhang, Daoqiang
    IEEE TRANSACTIONS ON RELIABILITY, 2014, 63 (02) : 676 - 686
  • [10] CSSG: A cost-sensitive stacked generalization approach for software defect prediction
    Eivazpour, Zeinab
    Keyvanpour, Mohammad Reza
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2021, 31 (05):