A Simulation Study of Bandit Algorithms to Address External Validity of Software Fault Prediction

arXiv:2003.05094 First posted 2020-03-11 v2 5 pages
Cite this paper ×
BibTeX
@misc{hayakawa2020a,
  title = {A Simulation Study of Bandit Algorithms to Address External Validity of Software Fault Prediction},
  author = {Teruki Hayakawa and Masateru Tsunoda and Koji Toda and Keitaro Nakasai and Kenichi Matsumoto},
  year = {2020},
  eprint = {2003.05094},
  archivePrefix = {arXiv},
  primaryClass = {cs.SE},
  url = {https://arxiv.org/abs/2003.05094}
}
APA 7
Hayakawa, T., Tsunoda, M., Toda, K., Nakasai, K., & Matsumoto, K. (2020). A Simulation Study of Bandit Algorithms to Address External Validity of Software Fault Prediction [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.05094
GB/T 7714
HAYAKAWA T, TSUNODA M, TODA K, et al. A Simulation Study of Bandit Algorithms to Address External Validity of Software Fault Prediction[EB/OL]. (2020-03-11)[2026-11-29]. https://arxiv.org/abs/2003.05094.

Abstract

Various software fault prediction models and techniques for building algorithms have been proposed. Many studies have compared and evaluated them to identify the most effective ones. However, in most cases, such models and techniques do not have the best performance on every dataset. This is because there is diversity of software development datasets, and therefore, there is a risk that the selected model or technique shows bad performance on a certain dataset. To avoid selecting a low accuracy model, we apply bandit algorithms to predict faults. Consider a case where player has 100 coins to bet on several slot machines. Ordinary usage of software fault prediction is analogous to the player betting all 100 coins in one slot machine. In contrast, bandit algorithms bet one coin on each machine (i.e., use prediction models) step-by-step to seek the best machine. In the experiment, we developed an artificial dataset that includes 100 modules, 15 of which include faults. Then, we developed various artificial fault prediction models and selected them dynamically using bandit algorithms. The Thomson sampling algorithm showed the best or second-best prediction performance compared with using only one prediction model.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!