Abstract
Sampling methods are known to impact defect prediction performance. These sampling methods have configurable parameters that can significantly affect the prediction performance. It is however, impractical to assess the effect of all the possible different settings in the parameter space for all the several existing sampling methods. A constant and easy to tweak parameter present in all sampling methods is the distribution of the defective and non-defective modules in the dataset known as Pfp (% of fault-prone modules). In this paper, we investigate and assess the performance of defect prediction models where the Pfp parameter of sampling methods are tweaked. An empirical experiment and assessment of seven sampling methods on five prediction models over 20 releases of 10 static metric projects indicate that (1) Area Under the Receiver Operating Characteristics Curve (AUC) performance is not improved after tweaking the Pfp parameter, (2) pf (false alarms) performance degrades as the Pfp is increased. (3) a stable predictor is difficult to achieve across different Pfp rates. Hence, we conclude that the Pfp parameter setting can have a large impact on the performance (except AUC) of defect prediction models. We thus recommend researchers experiment with the Pfp parameter of the sampling method since the distribution of training datasets vary.
Original language | English |
---|---|
Title of host publication | Proceedings - 24th Asia-Pacific Software Engineering Conference, APSEC 2017 |
Publisher | IEEE Computer Society |
Pages | 630-635 |
Number of pages | 6 |
Volume | 2017-December |
ISBN (Electronic) | 9781538636817 |
DOIs | |
Publication status | Published - Mar 1 2018 |
Event | 24th Asia-Pacific Software Engineering Conference, APSEC 2017 - Nanjing, Jiangsu, China Duration: Dec 4 2017 → Dec 8 2017 |
Other
Other | 24th Asia-Pacific Software Engineering Conference, APSEC 2017 |
---|---|
Country | China |
City | Nanjing, Jiangsu |
Period | 12/4/17 → 12/8/17 |
Keywords
- Defect prediction
- Empirical software engineering
- Imbalanced Data
- Preprocessing
- Sampling methods
- Search based SE
ASJC Scopus subject areas
- Software