Software Development Cost Prediction Using XGBoost with Optuna-Based Hyperparameter Optimization on the COCOMO Dataset

Authors

  • Eddy Maryanto Informatics, Universitas Jenderal Soedirman, Indonesia
  • Bangun Wijayanto Informatics, Universitas Jenderal Soedirman, Indonesia
  • Swahesti Puspita Rahayu Informatics, Universitas Jenderal Soedirman, Indonesia
  • Dwi Kurnia Wibowo Informatics, Universitas Jenderal Soedirman, Indonesia

DOI:

https://doi.org/10.52436/1.jutif.2026.7.3.6361

Keywords:

COCOMO, XGBoost, Hyperparameter Optimization, Optuna, Software Development Cost Estimation, Software Effort Estimation

Abstract

Software development cost estimation remains a major challenge in project management because the complexity of software projects and the uncertainty of cost-influencing factors often lead to inaccurate estimates, adversely affecting resource allocation, budgeting, and project planning. This study aims to develop and evaluate an XGBoost-based software development cost prediction model optimized through Optuna-based hyperparameter optimization, as well as to investigate whether hyperparameter optimization can significantly improve prediction accuracy compared with the default XGBoost configuration. The proposed approach was evaluated using the Constructive Cost Model (COCOMO) dataset, a widely used benchmark for software cost estimation. The methodology consists of data preprocessing, XGBoost model training, Optuna-based hyperparameter optimization, and model evaluation using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), Mean Magnitude of Relative Error (MMRE), and the coefficient of determination (R²). Experimental results show that the optimized XGBoost model significantly outperformed the default configuration. The default model achieved an MAE of 189.6093, an RMSE of 296.1262, an MMRE of 132.42%, and an R² of 0.7162, whereas the optimized model reduced the MAE to 101.4871, RMSE to 134.7717, and MMRE to 34.04%, while increasing the R² to 0.9412. These results demonstrate that Optuna-based hyperparameter optimization substantially enhances the predictive performance of XGBoost for software cost estimation. The proposed approach provides a reliable decision-support tool for software project managers, enabling more accurate cost estimation, improved resource planning, and more effective project management.

Downloads

Download data is not yet available.

References

F. E. Boujida, F. A. Amazal, and A. Idri, “Generative adversarial networks-based software development effort estimation for small datasets,” Sci. Afr., vol. 31, p. e03156, Mar. 2026, doi: 10.1016/j.sciaf.2025.e03156.

M. Rahman, H. Sarwar, MD. A. Kader, T. Gonçalves, and T. T. Tin, “Review and Empirical Analysis of Machine Learning-Based Software Effort Estimation,” IEEE Access, vol. 12, pp. 85661–85680, 2024, doi: 10.1109/ACCESS.2024.3404879.

P. Tandon, U. Suman, and M. Rathore, “A Systematic Literature Review on Effort Estimation in Agile Software Development using Machine Learning Techniques,” Int. J. Comput. Appl., vol. 184, no. 21, pp. 15–23, Jul. 2022, doi: 10.5120/ijca2022922238.

E. Hariyanti et al., “The Implementation of Machine Learning for Software Effort Estimation: A Literature Review,” Khazanah Informatika : Jurnal Ilmu Komputer dan Informatika, vol. 10, no. 1, pp. 47–57, Apr. 2024, doi: 10.23917/khif.v10i1.2803.

Á. J. Sánchez-García, M. S. González-Hernández, K. Cortés-Verdín, and J. C. Pérez-Arriaga, “Software Estimation in the Design Stage with Statistical Models and Machine Learning: An Empirical Study,” Mathematics, vol. 12, no. 7, p. 1058, Apr. 2024, doi: 10.3390/math12071058.

N. A. Zakaria, A. R. Ismail, A. Y. Ali, N. H. M. Khalid, and N. Z. Abidin, “Software Project Estimation with Machine Learning,” International Journal of Advanced Computer Science and Applications, vol. 12, no. 6, p. 2021, 2021, doi: 10.14569/IJACSA.2021.0120685.

S. F. Ahmed et al., “Deep learning modelling techniques: current progress, applications, advantages, and challenges,” Artif. Intell. Rev., vol. 56, no. 11, pp. 13521–13617, Nov. 2023, doi: 10.1007/s10462-023-10466-8.

W. Zhang, H. Cheng, S. Zhan, M. Luo, F. Wang, and Z. Huang, “Dimensionality reduction and machine learning based model of software cost estimation,” Front. Phys., vol. 12, Mar. 2024, doi: 10.3389/fphy.2024.1324719.

H. L. T. K. Nhung, V. Van Hai, P. Silhavy, Z. Prokopova, and R. Silhavy, “Incorporating statistical and machine learning techniques into the optimization of correction factors for software development effort estimation,” Journal of Software: Evolution and Process, vol. 36, no. 5, May 2024, doi: 10.1002/smr.2611.

P. V. A G, A. K. K, and R. S, “Enhancing software effort estimation with random forest tuning and adaptive decision strategies,” Sci. Rep., vol. 15, no. 1, p. 34053, Sep. 2025, doi: 10.1038/s41598-025-14372-7.

A. Puspaningrum, M. Mustamiin, F. Herdiyanti, and K. Noviyanto, “Software Effort Coefficient Optimization Using Hybrid Bat Algorithm and Whale Optimization Algorithm,” JURNAL INFOTEL, vol. 17, no. 1, pp. 122–135, May 2025, doi: 10.20895/infotel.v17i1.1250.

Ritu and P. Bhambri, “Enhancing software development effort estimation with a cloud-based data framework using use case points, fuzzy logic, and machine learning,” Discover Computing, vol. 28, no. 1, p. 143, Jul. 2025, doi: 10.1007/s10791-025-09668-1.

J. Rashid, S. Kanwal, M. Wasif Nisar, J. Kim, and A. Hussain, “An Artificial Neural Network-Based Model for Effective Software Development Effort Estimation,” Computer Systems Science and Engineering, vol. 44, no. 2, pp. 1309–1324, 2023, doi: 10.32604/csse.2023.026018.

M. Arora, S. Verma, Kavita, M. Wozniak, J. Shafi, and M. F. Ijaz, “An efficient ANFIS-EEBAT approach to estimate effort of Scrum projects,” Sci. Rep., vol. 12, no. 1, p. 7974, May 2022, doi: 10.1038/s41598-022-11565-2.

Meharunnisa, M. Saqlain, M. Abid, M. Awais, and Ž. Stević, “Analysis of Software Effort Estimation by Machine Learning Techniques,” Ingénierie des systèmes d information, vol. 28, no. 6, pp. 1445–1457, Dec. 2023, doi: 10.18280/isi.280602.

A. Jadhav and S. K. Shandilya, “Reliable machine learning models for estimating effective software development efforts: A comparative analysis,” Journal of Engineering Research (Kuwait), vol. 11, no. 4, pp. 362–376, Dec. 2023, doi: 10.1016/j.jer.2023.100150.

W. Silva, B. Nascimento, P. Miranda, and E. Vicente, “Predictive Regression Models of Machine Learning for Effort Estimation in Software Teams: An Experimental Study,” in Proceedings of the 27th International Conference on Enterprise Information Systems, SCITEPRESS - Science and Technology Publications, 2025, pp. 219–226. doi: 10.5220/0013284800003929.

A. F. Alif Pahlevi, M. A. Hariyadi, and A. T. W. Almais, “Optimasi Extreme Gradient Boosting dengan Particle Swarm Optimization untuk Estimasi Software Effort,” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 5, no. 3, pp. 930–941, Jul. 2025, doi: 10.57152/malcom.v5i3.2055.

R. Marco, S. Sharifah, S. Ahmad, and S. Ahmad, “Bayesian Hyperparameter Optimization and Ensemble Learning for Machine Learning Models on Software Effort Estimation.” [Online]. Available: www.ijacsa.thesai.org

M. Yusuf and D. Siahaan, “Software Effort Estimation Using Stacking Ensemble and Bayesian Optimization,” Journal of Applied Science and Technology Trends, vol. 6, no. 2, pp. 161–168, Aug. 2025, doi: 10.38094/jastt62310.

A. Yasmin, W. Haider Butt, and A. Daud, “Ensemble effort estimation with metaheuristic hyperparameters and weight optimization for achieving accuracy,” PLoS One, vol. 19, no. 4, p. e0300296, Apr. 2024, doi: 10.1371/journal.pone.0300296.

J. Li, S. Sun, L. Xie, C. Zhu, and D. He, “Multi-kernel support vector regression with improved moth-flame optimization algorithm for software effort estimation,” Sci. Rep., vol. 14, no. 1, p. 16892, Jul. 2024, doi: 10.1038/s41598-024-67197-1.

A.-E. Iordan, “An Optimized LSTM Neural Network for Accurate Estimation of Software Development Effort,” Mathematics, vol. 12, no. 2, p. 200, Jan. 2024, doi: 10.3390/math12020200.

H. D. P. De Carvalho, R. Fagundes, and W. Santos, “Extreme Learning Machine Applied to Software Development Effort Estimation,” IEEE Access, vol. 9, pp. 92676–92687, 2021, doi: 10.1109/ACCESS.2021.3091313.

S. P. Shankar, S. S. Chaudhari, V. Mishra, and T. Stephan, “Intelligent techniques for predictive analytics in Agile software development,” Sci. Rep., vol. 16, no. 1, Dec. 2026, doi: 10.1038/s41598-026-41102-4.

Additional Files

Published

2026-08-07

How to Cite

[1]
E. Maryanto, Bangun Wijayanto, S. P. Rahayu, and D. K. Wibowo, “Software Development Cost Prediction Using XGBoost with Optuna-Based Hyperparameter Optimization on the COCOMO Dataset”, J. Tek. Inform. (JUTIF), vol. 7, no. 3, pp. 3064–3080, Aug. 2026.

Most read articles by the same author(s)

1 2 > >>