Hyperparameter Optimization of Extreme Gradient Boosting Using Particle Swarm Optimization For Diabetic Nephropathy Prediction
DOI:
https://doi.org/10.25126/jitecs.2025103859Abstract
Diabetic Nephropathy (DN) is a critical complication with a mortality rate 20-40 times higher than in non-diabetic nephropathy patients, necessitating precise machine learning models to determine whether a patient has nephropathy. Extreme Gradient Boosting (XGBoost) has emerged as a prominent machine learning model for medical diagnostics, with several studies validating its superiority in medical classification. Nevertheless, a significant limitation of XGBoost lies in the complexity of manual hyperparameter tuning. To address this limitation, an automated optimization algorithm is requisite to systematically identify the optimal hyperparameter configuration. This study focuses on optimizing Extreme Gradient Boosting (XGBoost) hyperparameters using Particle Swarm Optimization (PSO), with the F1-Score as its fitness function. To evaluate its effectiveness, the performance of this hybrid XGBoost-PSO model was compared against the baseline XGBoost model. The results showed that the hybrid model outperformed the baseline model, achieving a consistent improvement of 0.02 (2%) across all evaluation metrics. Notably, the F1-Score increased from 0.91 to 0.93, while the Recall metric improved from 0.93 to 0.95. Furthermore, the PSO algorithm efficiently identified the Global Best (GBest) hyperparameters at the 9th iteration. In conclusion, the XGBoost-PSO model provides a robust medical diagnostic tool that maintains a stable performance to enhance clinical judgment.
Downloads
References
1. M. R. Afrash, F. Rahimi, H. Kazemi-Arpanahi, M. Shanbezadeh, M. Amraei, and F. Asadi, “Development of an intelligent clinical decision support system for the early prediction of diabetic nephropathy,” Informatics Med. Unlocked, vol. 35, no. November, p. 101135, 2022, doi: 10.1016/j.imu.2022.101135.
2. B. V. Baiju and D. John Aravindhar, “Disease Influence Measure Based Diabetic Prediction with Medical Data Set Using Data Mining,” Proc. 1st Int. Conf. Innov. Inf. Commun. Technol. ICIICT 2019, pp. 1–6, 2019, doi: 10.1109/ICIICT1.2019.8741452.
3. S. N. Heyman, I. Raz, J. P. Dwyer, R. Weinberg Sibony, J. B. Lewis, and Z. Abassi, “Diabetic Proteinuria Revisited: Updated Physiologic Perspectives,” Cells, vol. 11, no. 18, pp. 1–22, 2022, doi: 10.3390/cells11182917.
4. V. Natesan and S. J. Kim, “Diabetic nephropathy – A review of risk factors, progression, mechanism, and dietary management,” Biomol. Ther., vol. 29, no. 4, pp. 365–372, 2021, doi: 10.4062/biomolther.2020.204.
5. J.-M. Yin, Y. Li, J.-T. Xue, G.-W. Zong, Z.-Z. Fang, and L. Zou, “Explainable machine learning-based prediction model for diabetic nephropathy,” J. Diabetes Res., vol. 2024, 2023, doi: https://doi.org/10.1155/2024/8857453.
6. X. Bao, S. Xie, K. Zhang, K. Song, and Y. Yang, “Machine learning based information extraction for diabetic nephropathy in clinical text documents,” 2019 6th Int. Conf. Syst. Informatics, ICSAI 2019, no. Icsai 2019, pp. 1438–1442, 2019, doi: 10.1109/ICSAI48974.2019.9010211.
7. L. Muflikhah, F. A. Bachtiar, D. E. Ratnawati, and R. Darmawan, “Improving Performance for Diabetic Nephropathy Detection Using Adaptive Synthetic Sampling Data in Ensemble Method of Machine Learning Algorithms,” J. Ilm. Tek. Elektro Komput. dan Inform., vol. 10, no. 1, p. 123, 2024, doi: 10.26555/jiteki.v10i1.28107.
8. M. F. Ashidiq, L. Muflikhah, and B. D. Setiawan, “Deteksi Nefropati Diabetik Pada Pasien Diabetes Melitus Menggunakan Regresi Logistik,” vol. 9, no. 2, pp. 1–9, 2025.
9. M. R. Hanan, L. Muflikhah, and F. A. Bachtiar, “Prediksi Nefropati Menggunakan Algoritma Random Forest,” vol. 9, no. 5, pp. 1–11, 2025.
10. S. Nayak et al., “Development of a machine learning-based model for the prediction and progression of diabetic kidney disease: A single centred retrospective study,” Int. J. Med. Inform., vol. 190, no. July, p. 105546, 2024, doi: 10.1016/j.ijmedinf.2024.105546.
11. T. Fan, J. Wang, L. Li, J. Kang, W. Wang, and C. Zhang, “Predicting the risk factors of diabetic ketoacidosis-associated acute kidney injury: A machine learning approach using XGBoost,” Front. Public Heal., vol. 11, no. April, pp. 1–9, 2023, doi: 10.3389/fpubh.2023.1087297.
12. U. Nagavelli, D. Samanta, and P. Chakraborty, “Machine Learning Technology-Based Heart Disease Detection Models,” J. Healthc. Eng., vol. 2022, 2022, doi: 10.1155/2022/7351061.
13. S. Nematzadeh, F. Kiani, M. Torkamanian-Afshar, and N. Aydin, “Tuning hyperparameters of machine learning algorithms and deep neural networks using metaheuristics: A bioinformatics study on biomedical and biological cases,” Comput. Biol. Chem., vol. 97, no. December 2021, p. 107619, 2022, doi: 10.1016/j.compbiolchem.2021.107619.
14. C. Erden, H. I. Demir, and A. H. Kökçam, “Enhancing Machine Learning Model Performance with Hyper Parameter Optimization: A Comparative Study,” 2023, [Online]. Available: http://arxiv.org/abs/2302.11406
15. A. Sharma and D. Kumar, “Hyperparameter Optimization in CNN: A Review,” Proc. - 4th IEEE 2023 Int. Conf. Comput. Commun. Intell. Syst. ICCCIS 2023, pp. 237–242, 2023, doi: 10.1109/ICCCIS60361.2023.10425571.
16. G. Papazoglou and P. Biskas, “Review and Comparison of Genetic Algorithm and Particle Swarm Optimization in the Optimal Power Flow Problem,” Energies, vol. 16, no. 3, 2023, doi: 10.3390/en16031152.
17. A. Avcı, M. Kocakulak, N. Acır, E. Gunes, and S. Turan, “A study on the monitoring of weld quality using XGBoost with Particle Swarm Optimization,” Ain Shams Eng. J., vol. 15, no. 4, p. 102651, 2024, doi: 10.1016/j.asej.2024.102651.
18. E. S Freeda, E. T C Selvan, and V. R S Durai, “Prediction of Parkinson’s disease using XGBoost,” 8th Int. Conf. Adv. Comput. Commun. Syst. ICACCS 2022, vol. 1, pp. 1769–1772, 2022, doi: 10.1109/ICACCS54159.2022.9785227.
19. S. Sankar, A. Potti, G. Naga Chandrika, and S. Ramasubbareddy, “Thyroid Disease Prediction Using XGBoost Algorithms,” J. Mob. Multimed., vol. 18, no. 3, pp. 917–934, 2022, doi: 10.13052/jmm1550-4646.18322.
20. K. Gattaiah and B. Sujatha, “Road Traffic Prediction In Smart Cities Using Xgboost With Feature,” vol. 73, no. 1, pp. 48–58, 2024.
21. J. Zhang et al., “Experimental analysis of combustion characteristics of corn starch dust clouds under the action of unilateral obstacles and machine learning modeling based on PSO-XGBoost,” Adv. Powder Technol., vol. 35, no. 11, 2024, doi: 10.1016/j.apt.2024.104641.
22. J. Luo, Z. Zhang, Y. Fu, and F. Rao, “Time series prediction of COVID-19 transmission in America using LSTM and XGBoost algorithms,” Results Phys., vol. 27, p. 104462, 2021, doi: 10.1016/j.rinp.2021.104462.
23. J. Kennedy and R. Eberhart, “Particle Swarm Optimization,” pp. 1942–1948, 1995.
24. Y. Shi and R. Eberhart, “A Modified Particle Swarm Optimizer,” pp. 69–73, 1998.
25. A. Gupta, A. Anand, and Y. Hasija, “Recall-based Machine Learning approach for early detection of Cervical Cancer,” pp. 1–5, 2021, doi: 10.1109/I2CT51068.2021.9418099.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Journal of Information Technology and Computer Science

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Creative Common Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).








