Hyperparameter optimization to improve bug prediction accuracy

作者
Haidar Osman,Mohammad Ghafari,Oscar Nierstrasz
标识
DOI:10.1109/maltesque.2017.7882014
摘要

Bug prediction is a technique that strives to identify where defects will appear in a software system. Bug prediction employs machine learning to predict defects in software entities based on software metrics. These machine learning models usually have adjustable parameters, called hyperparameters, that need to be tuned for the prediction problem at hand. However, most studies in the literature keep the model hyperparameters set to the default values provided by the used machine learning frameworks. In this paper we investigate whether optimizing the hyperparameters of a machine learning model improves its prediction power. We study two machine learning algorithms: k-nearest neighbours (IBK) and support vector machines (SVM). We carry out experiments on five open source Java systems. Our results show that (i) models differ in their sensitivity to their hyperparameters, (ii) tuning hyperparameters gives at least as accurate models for SVM and significantly more accurate models for IBK, and (iii) most of the default values are changed during the tuning phase. Based on these findings we recommend tuning hyperparameters as a necessary step before using a machine learning model in bug prediction.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
南瓜完成签到,获得积分10
2秒前
3秒前
paobashan发布了新的文献求助10
3秒前
酷波er应助呆萌问丝采纳,获得10
4秒前
搜集达人应助jie采纳,获得10
4秒前
5秒前
5秒前
5秒前
6秒前
6秒前
正直的以冬完成签到,获得积分10
6秒前
苦咖啡发布了新的文献求助10
7秒前
英俊的铭应助看看采纳,获得10
7秒前
7秒前
科研通AI6.4应助亢kxh采纳,获得10
7秒前
向往发布了新的文献求助10
8秒前
9秒前
研友_85Y5z8完成签到,获得积分20
9秒前
万事如意发布了新的文献求助10
10秒前
亮liang发布了新的文献求助10
11秒前
Dr-xu0002发布了新的文献求助10
11秒前
12秒前
赫赫发布了新的文献求助10
12秒前
共享精神应助科研通管家采纳,获得10
12秒前
cdercder应助科研通管家采纳,获得10
12秒前
隐形曼青应助科研通管家采纳,获得10
12秒前
三余发布了新的文献求助30
12秒前
cdercder应助科研通管家采纳,获得10
12秒前
beichenmeow应助科研通管家采纳,获得10
12秒前
共享精神应助科研通管家采纳,获得10
13秒前
Nexus应助科研通管家采纳,获得30
13秒前
cdercder应助科研通管家采纳,获得10
13秒前
思源应助wanghao采纳,获得30
13秒前
JamesPei应助科研通管家采纳,获得30
13秒前
盘菜应助科研通管家采纳,获得10
13秒前
田様应助科研通管家采纳,获得10
13秒前
14秒前
蒹葭完成签到 ,获得积分20
14秒前
在水一方应助科研通管家采纳,获得10
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Discerning Saints: Moralization of Intrinsic Motivation and Selective Prosociality at Work 500
Handbuch Trainingswissenschaft – Trainingslehre 500
Additive Manufacturing Design and Applications (ASM Handbook, Volume 24A) 500
Variations: A More Diverse Picture of Contemporary Art 400
Induction Heating and Heat Treatment (ASM Handbook, Volume 4C) 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7589117
求助须知:如何正确求助?哪些是违规求助? 9167080
关于积分的说明 19620783
捐赠科研通 7168847
什么是DOI,文献DOI怎么找? 3267111
关于科研通互助平台的介绍 2432031
邀请新用户注册赠送积分活动 2259248