Software Defect Prediction Based on Cost-Sensitive Dictionary Learning

被引:8
|
作者
Wan, Hongyan [1 ]
Wu, Guoqing [1 ]
Yu, Mali [2 ]
Yuan, Mengting [1 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Hubei, Peoples R China
[2] Jiujiang Univ, Sch Informat Sci & Technol, Jiujiang 332005, Peoples R China
关键词
Software defect prediction; dictionary learning; cost-sensitive; bilevel optimization; sparse coding; SPARSE REPRESENTATIONS; NEURAL-NETWORKS; QUALITY;
D O I
10.1142/S0218194019500384
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Software defect prediction technology has been widely used in improving the quality of software system. Most real software defect datasets tend to have fewer defective modules than defective-free modules. Highly class-imbalanced data typically make accurate predictions difficult. The imbalanced nature of software defect datasets makes the prediction model classifying a defective module as a defective-free one easily. As there exists the similarity during the different software modules, one module can be represented by the sparse representation coefficients over the pre-defined dictionary which consists of historical software defect datasets. In this study, we make use of dictionary learning method to predict software defect. We optimize the classifier parameters and the dictionary atoms iteratively, to ensure that the extracted features (sparse representation) are optimal for the trained classifier. We prove the optimal condition of the elastic net which is used to solve the sparse coding coefficients and the regularity of the elastic net solution. Due to the reason that the misclassification of defective modules generally incurs much higher cost risk than the misclassification of defective-free ones, we take the different misclassification costs into account, increasing the punishment on misclassification defective modules in the procedure of dictionary learning, making the classification inclining to classify a module as a defective one. Thus, we propose a cost-sensitive software defect prediction method using dictionary learning (CSDL). Experimental results on the 10 class-imbalance datasets of NASA show that our method is more effective than several typical state-of-the-art defect prediction methods.
引用
收藏
页码:1219 / 1243
页数:25
相关论文
共 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] Misclassification Cost-Sensitive Software Defect Prediction
    Xu, Ling
    Wang, Bei
    Liu, Ling
    Zhou, Mo
    Liao, Shengping
    Yan, Meng
    2018 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION (IRI), 2018, : 256 - 263
  • [4] Two-Stage Cost-Sensitive Learning for Software Defect Prediction
    Liu, Mingxia
    Miao, Linsong
    Zhang, Daoqiang
    IEEE TRANSACTIONS ON RELIABILITY, 2014, 63 (02) : 676 - 686
  • [5] Neighbor cleaning learning based cost-sensitive ensemble learning approach for software defect prediction
    Li, Li
    Su, Renjia
    Zhao, Xin
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2024, 36 (12):
  • [6] Discriminating features-based cost-sensitive approach for software defect prediction
    Ali, Aftab
    Khan, Naveed
    Abu-Tair, Mamun
    Noppen, Joost
    McClean, Sally
    McChesney, Ian
    AUTOMATED SOFTWARE ENGINEERING, 2021, 28 (02)
  • [7] 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
  • [8] Cost-sensitive boosting neural networks for software defect prediction
    Zheng, Jun
    EXPERT SYSTEMS WITH APPLICATIONS, 2010, 37 (06) : 4537 - 4543
  • [9] Software defect prediction using cost-sensitive neural network
    Arar, Omer Faruk
    Ayan, Kursat
    APPLIED SOFT COMPUTING, 2015, 33 : 263 - 277
  • [10] 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