The Impact of Automated Parameter Optimization on Defect Prediction Models

Chakkrit Tantithamthavorn, Shane McIntosh, Ahmed E. Hassan, Kenichi Matsumoto
1/31/2018
cs.SE

Official code: klainfo/ScottKnottESD (46 stars, R, GPL-2.0, last commit 2023-02-09).

Abstract

Defect prediction models---classifiers that identify defect-prone software modules---have configurable parameters that control their characteristics (e.g., the number of trees in a random forest). Recent studies show that these classifiers underperform when default settings are used.

Show full abstract

In this paper, we study the impact of automated parameter optimization on defect prediction models. Through a case study of 18 datasets, we find that automated parameter optimization: (1) improves AUC performance by up to 40 percentage points; (2) yields classifiers that are at least as stable as those trained using default settings; (3) substantially shifts the importance ranking of variables, with as few as 28% of the top-ranked variables in optimized classifiers also being top-ranked in non-optimized classifiers; (4) yields optimized settings for 17 of the 20 most sensitive parameters that transfer among datasets without a statistically significant drop in performance; and (5) adds less than 30 minutes of additional computation to 12 of the 26 studied classification techniques. While widely-used classification techniques like random forest and support vector machines are not optimization-sensitive, traditionally overlooked techniques like C5.0 and neural networks can actually outperform widely-used techniques after optimization is applied. This highlights the importance of exploring the parameter space when using parameter-sensitive classification techniques.

View on arXivView PDF

Code Implementations(1)

GPL-2.0

The Scott-Knott Effect Size Difference (ESD) test

4614R, MakefileJul 30, 20153 years agoGPL-2.0
crandefect-prediction-modelseffect-sizemultiple-comparisonsranking-algorithm+2 more

Similar Papers

Cite this paper

@article{tantithamthavorn2018impact,
  title  = {The Impact of Automated Parameter Optimization on Defect Prediction Models},
  author = {Chakkrit Tantithamthavorn and Shane McIntosh and Ahmed E. Hassan and Kenichi Matsumoto},
  year   = {2018},
  eprint = {1801.10270},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1801.10270}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1801.10270.svg)](https://codeofpaper.com/paper/1801.10270)

Discussion