English

Bayesian Hierarchical Modelling for Tailoring Metric Thresholds

Software Engineering 2018-04-10 v1

Abstract

Software is highly contextual. While there are cross-cutting `global' lessons, individual software projects exhibit many `local' properties. This data heterogeneity makes drawing local conclusions from global data dangerous. A key research challenge is to construct locally accurate prediction models that are informed by global characteristics and data volumes. Previous work has tackled this problem using clustering and transfer learning approaches, which identify locally similar characteristics. This paper applies a simpler approach known as Bayesian hierarchical modeling. We show that hierarchical modeling supports cross-project comparisons, while preserving local context. To demonstrate the approach, we conduct a conceptual replication of an existing study on setting software metrics thresholds. Our emerging results show our hierarchical model reduces model prediction error compared to a global approach by up to 50%.

Keywords

Cite

@article{arxiv.1804.02443,
  title  = {Bayesian Hierarchical Modelling for Tailoring Metric Thresholds},
  author = {Neil A. Ernst},
  journal= {arXiv preprint arXiv:1804.02443},
  year   = {2018}
}

Comments

Short paper, published at MSR '18: 15th International Conference on Mining Software Repositories May 28--29, 2018, Gothenburg, Sweden

R2 v1 2026-06-23T01:16:37.978Z