Interpretability application of the Just-in-Time software defect prediction model

可解释性 计算机科学 软件错误 预测建模 数据挖掘 软件 集合(抽象数据类型) 机器学习 编码(集合论) 粒度 人工智能 可靠性工程 工程类 操作系统 程序设计语言
作者
Wei Zheng,Tianren Shen,Xiang Chen,Peiran Deng
出处
期刊:Journal of Systems and Software [Elsevier BV]
卷期号:188: 111245-111245 被引量:90
标识
DOI:10.1016/j.jss.2022.111245
摘要

Software defect prediction is one of the most active fields in software engineering. Recently, some experts have proposed the Just-in-time Defect Prediction Technology. Just-in-time Defect prediction technology has become a hot topic in defect prediction due to its directness and fine granularity. This technique can predict whether a software defect exists in every code change submitted by a developer. In addition, the method has the advantages of high speed and easy tracking. However, the biggest challenge is that the prediction accuracy of Just-in-Time software is affected by the data set category imbalance. In most cases, 20% of defects in software engineering may be in 80% of modules, and code changes that do not cause defects account for a large proportion. Therefore, there is an imbalance in the data set, that is, the imbalance between a few classes and a majority of classes, which will affect the classification prediction effect of the model. Furthermore, because most features do not result in code changes that cause defects, it is not easy to achieve the desired results in practice even though the model is highly predictive. In addition, the features of the data set contain many irrelevant features and redundant features, which are invalid data, which will increase the complexity of the prediction model and reduce the prediction efficiency. To improve the prediction efficiency of Just-in-Time defect prediction technology. We trained a just-in-time defect prediction model using six open source projects from different fields based on random forest classification. LIME Interpretability technique is used to explain the model to a certain extent. By using explicable methods to extract meaningful, relevant features, the experiment can only need 45% of the original work to explain the prediction results of the prediction model and identify critical features through explicable techniques, and only need 96% of the original work to achieve this goal, under the premise of ensuring specific prediction effects. Therefore, the application of interpretable techniques can significantly reduce the workload of developers and improve work efficiency.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
顾矜应助ZJ采纳,获得10
刚刚
陈雨欣应助兴奋的娃娃采纳,获得10
1秒前
天天快乐应助科研通管家采纳,获得30
1秒前
Zephyrite应助科研通管家采纳,获得10
1秒前
领导范儿应助科研通管家采纳,获得10
1秒前
科研通AI2S应助科研通管家采纳,获得10
1秒前
1秒前
2秒前
2秒前
2秒前
星辰大海应助科研通管家采纳,获得10
2秒前
尊嘟假嘟应助科研通管家采纳,获得10
2秒前
Hello应助科研通管家采纳,获得10
2秒前
包容映安发布了新的文献求助10
2秒前
英姑应助科研通管家采纳,获得10
2秒前
科研通AI2S应助科研通管家采纳,获得10
3秒前
3秒前
打打应助科研通管家采纳,获得10
3秒前
SciGPT应助科研通管家采纳,获得10
3秒前
在水一方应助zxd采纳,获得10
3秒前
天天快乐应助科研通管家采纳,获得10
3秒前
十三应助科研通管家采纳,获得10
3秒前
msp发布了新的文献求助10
4秒前
Mic应助科研通管家采纳,获得30
4秒前
科目三应助科研通管家采纳,获得10
4秒前
酷波er应助科研通管家采纳,获得10
4秒前
4秒前
今后应助科研通管家采纳,获得10
4秒前
脑洞疼应助科研通管家采纳,获得10
4秒前
李健应助科研通管家采纳,获得10
5秒前
5秒前
彭于晏应助liujiayu采纳,获得30
5秒前
Zephyrite应助科研通管家采纳,获得10
5秒前
慕青应助科研通管家采纳,获得10
5秒前
小二郎应助稳重的半梅采纳,获得10
5秒前
赘婿应助科研通管家采纳,获得10
5秒前
5秒前
深情安青应助果蝇宝宝采纳,获得10
6秒前
TT完成签到,获得积分10
6秒前
我是老大应助科研通管家采纳,获得30
6秒前
高分求助中
Markov Chain Monte Carlo 10000
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Bend stiffness of submarine cables – an experimental and numerical investigation 5000
Advanced Weaponeering Fourth Edition, Volume 2 1000
Weaponeering: An Introduction Fourth Edition, Volume 1 1000
悉尼大学博士学位论文,题目:Modelling and testing of one-sided stitched laminated composites. 作者:Kristopher P. Plain 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 610
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7540108
求助须知:如何正确求助?哪些是违规求助? 9124572
关于积分的说明 19493749
捐赠科研通 7136971
什么是DOI,文献DOI怎么找? 3258026
关于科研通互助平台的介绍 2425279
邀请新用户注册赠送积分活动 2246073