A Robust Heterogeneous Ensemble Framework for Software Cost Estimation with Prediction Uncertainty Quantification
DOI:
https://doi.org/10.21928/uhdjst.v10n2y2026.pp80-95Keywords:
Software Cost Estimation, Ensemble Learning, Uncertainty, Confidence Intervals, Machine LearningAbstract
Successfully estimating software costs is critical to project management because poor estimates lead to overruns, scheduling issues, and project failure. Machine learning improves estimates, but usually only point estimates are produced without providing valid uncertainty around them. This paper presents a method using an uncertainty-aware heterogeneous ensemble of 100 bootstrap-trained base learners (using gradient boosting, extra trees, and random forests), which jointly produce point predictions and prediction intervals using a robust trimmed mean, with effort modeled on the log scale. Using the NASA93 dataset (with 93 projects, split 80/20 into 74 for the training set and 19 for the test set) and repeated cross-validation (feature selection and scaling were performed only within the training folds to avoid leakage), the model achieved a mean absolute error of 309.1 and a percentage of relative error deviation from the predicted value rate of 51.3% (30 out of 74 projects) outperforming all eight of the Bayesian baselines it was compared to, while being the only model to provide the validity of its prediction intervals through calibration. Given that normality of the ensemble predictions is rejected, empirical and distribution-free percentiles (with 89.5% of the prediction intervals containing the test project true outcomes) are used because they are not biased by the training data. The average interval width covered by the validation of those prediction intervals to cross-validate the interval width over 86.1% of the test set differs significantly from the linear bases using a paired Wilcoxon test (P < 0.001). Thus, the framework described couples competitive levels of accuracy with quantifiable and empirically validated confidence levels.
References
T. Singh, R. Singh and K. K. Mishra. “Software cost estimation using environmental adaptation method”. Procedia Computer Science, vol. 143, pp. 325-332, 2018.
S. Keaveney and K. Conboy. “Cost Estimation in Agile Development Projects”. University of Galway, Ireland, 2006.
Y. F. Li, M. Xie and T.N. Goh. “A study of project selection and feature weighting for analogy based software cost estimation”. Journal of Systems and Software, vol. 82, no. 2, pp. 241-252, 2009.
R. R. Sinha and R. K. Gora. “Software Effort Estimation using Machine Learning Techniques”. In: Advances in Information Communication Technology and Computing: Proceedings of AICTC 2019. pp. 65-79, 2020.
M. M. Al Asheeri and M. Hammad. “Machine Learning Models for Software Cost Estimation”. In: 2019 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT). IEEE, 2019.
B. O. Akumba, N. Blamah, I. Agaji, and E. Ogalla. Analysis of machine learning techniques used in software cost estimation-a review. Journal of Software Engineering and Simulation, vol. 9, no. 4, pp. 1-7, 2023.
K. F. Rishakan and F. S. Gharehchopogh. “Resultant vector strategy: A new strategy for improved performance of metaheuristic algorithm”. Knowledge-Based Systems, vol. 342, p. 115833, 2026.
F. S. Gharehchopogh and K. F. Rishakan. “Several improved models of the mountain Gazelle optimizer for solving optimization problems”. Computer Modeling in Engineering and Sciences, vol. 146, no. 1, p. 24, 2026.
S. Ezghari and A. Zahi. “Uncertainty management in software effort estimation using a consistent fuzzy analogy-based method”. Applied Soft Computing, vol. 67, pp. 540-557, 2018.
B. A. Dang and K. Krishnamoorthy. “Confidence intervals, prediction intervals and tolerance intervals for negative binomial distributions”. Statistical Papers, vol. 63, no. 3, pp. 795-820, 2022.
E. Hüllermeier and W. Waegeman. “Aleatoric and epistemic uncertainty in machine learning: An introduction to concepts and methods”. Machine Learning, vol. 110, no. 3, pp. 457-506, 2021.
S. S. Ali, J. Ren and J. Wu. “Framework to improve software effort estimation accuracy using novel ensemble rule”. Journal of King Saud University-Computer and Information Sciences, vol. 36, no. 9, p. 102189, 2024.
P. Sharma and J. Singh. “Systematic Literature Review on Software Effort Estimation Using Machine Learning Approaches”. In: 2017 International Conference on Next Generation Computing and Information Systems (ICNGCIS). IEEE, 2017.
J. Wen, S. Li, Z. Lin, Y. Hu and C. Huang. “Systematic literature review of machine learning based software development effort estimation models”. Information and Software Technology, vol. 54, no. 1, pp. 41-59, 2012.
A. Heiat. “Comparison of artificial neural network and regression models for estimating software development effort”. Information and Software Technology, vol. 44, no. 15, pp. 911-922, 2002.
Y. Mahmood, N. Kama, A. Azmi, A. S. Khan and M. Ali. “Software effort estimation accuracy prediction of machine learning techniques: A systematic performance evaluation”. Software: Practice and Experience., vol. 52, no. 1, pp. 39-65, 2022.
L. Breiman. “Bagging predictors”. Machine Learning, vol. 24, no. 2, pp. 123-140, 1996.
T. G. Dietterich. “Ensemble methods in machine learning”. In: International Workshop on Multiple Classifier Systems. Springer, Berlin, 2000.
Y. Freund and R. E. Schapire. “Experiments with a New Boosting Algorithm”. In: International Conference on Machine Learning. Bari, Italy, 1996.
D. H. Wolpert. “Stacked generalization”. Neural Networks, vol. 5, no. 2, pp. 241-259, 1992.
A. Kaushik, K. Sheoran, R. Kapur, N. Bhutani, B. Singh and H. Sharma. “SENSE: Software effort estimation using novel stacking ensemble learning”. Innovations in Systems and Software Engineering, vol. 21, no. 2, pp. 769-785, 2025.
M. O. Elish, T. Helmy and M. I. Hussain. “Empirical study of homogeneous and heterogeneous ensemble models for software development effort estimation”. Mathematical Problems in Engineering, vol. 2013, no. 1, p. 312067, 2013.
R. Odegua. “An empirical Study of Ensemble Techniques (Bagging, Boosting and Stacking)”. In: Conference Deep Learning IndabaX. 2019.
S. Geisser. “Predictive Inference”. Chapman and Hall/CRC, Florida, 2017.
C. Blundell. “Weight Uncertainty in Neural Networks”. In: Proceedings of the 32nd International Conference on Machine Learning. Vol. 1613. Lille, France, p. 1622, 2015.
B. Lakshminarayanan, A. Pritzel and C. Blundell. “Simple and scalable predictive uncertainty estimation using deep ensembles”. Advances in Neural Information Processing Systems, vol, 30, pp. 6405-6416, 2017.
P. J. Rousseeuw and M. Hubert. “Robust statistics for outlier detection”. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery, vol. 1, no. 1, pp. 73-79, 2011.
R. A. Maronna, R. D. Martin, V. J. Yohai and M. Salibian-Barerra. “Robust Statistics: Theory and Methods (with R)”. John Wiley and Sons, New Jersey, 2019.
F. R. Hampel. “The influence curve and its role in robust estimation”. Journal of the American Statistical Association, vol. 69, no. 346, pp. 383-393, 1974.
R. R. Wilcox. “Introduction to Robust Estimation and Hypothesis Testing”. Academic Press, Cambridge, 2012.
G. Lugosi and S. Mendelson. “Regularization, sparse recovery, and median-of-means tournaments”. Bernoulli, vol. 25, no. 3, pp. 2075-2106, 2019.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Hawar Othman Sharif, Tara Nawzad Ahmad Al Attar, Dlsoz Abdalkarim Rashid

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
