Optimizing Antibiotics Prophylaxis in Neurosurgery through Machin Learning: Predicting Infections and Personalizing Treatment Strategies.

Authors

DOI:

https://doi.org/10.56294/gr2025108

Keywords:

Machine learning, postoperative infection, neurosurgery, antibiotic prophylaxis, risk prediction

Abstract

Introduction: Preventing postoperative infections in neurosurgery is crucial to reducing morbidity. Machine learning (ML) models have shown potential in predicting infections and optimizing antibiotic use.

Methods: Patient data from neurosurgical procedures were analyzed to develop and evaluate ML models for predicting postoperative infections. Various algorithms, including logistic regression, Random Forest, Gradient Boosting Machine (GBM), SVM, and neural networks, were compared. Performance metrics such as accuracy, sensitivity, specificity, and area under the receiver operating characteristic curve (AUC-ROC) were calculated.

Results: The GBM model achieved the best performance, with an accuracy of 89.1% and an AUC-ROC of 0.91. The most important predictors of infection were surgical duration (27.3%), preoperative CRP levels (21.8%), and blood loss (18.5%). Patients who developed infections had significantly longer surgeries and elevated CRP levels.

Conclusions: ML models demonstrated high accuracy in predicting postoperative infections in neurosurgery. Early identification of high-risk patients may optimize antibiotic prophylaxis and reduce complications. Further validation is required for clinical implementation.

References

(1) El-Hajj VG, Gharios M, Edström E, Elmi-Terander A. Artificial Intelligence in Neurosurgery: A Bibliometric Analysis. World Neurosurg. 2023;171:152-158.e4. doi:10.1016/j.wneu.2022.12.087

(2) Kondziolka D. Reaching the Far Corners of Neurosurgery. Neurosurgery. 2022;91(4):525-526. doi:10.1227/neu.0000000000002110

(3) Qin H, Abulaiti A, Maimaiti A, et al. Integrated machine learning survival framework develops a prognostic model based on inter-crosstalk definition of mitochondrial function and cell death patterns in a large multicenter cohort for lower-grade glioma. J Transl Med. 2023;21(1):588. Published 2023 Sep 2. doi:10.1186/s12967-023-04468-x

(4) Maimaiti A, Turhon M, Abulaiti A, et al. DNA methylation regulator-mediated modification patterns and risk of intracranial aneurysm: a multi-omics and epigenome-wide association study integrating machine learning, Mendelian randomization, eQTL and mQTL data. J Transl Med. 2023;21(1):660. Published 2023 Sep 23. doi:10.1186/s12967-023-04512-w

(5) Abdel Wahed S, Abdel Wahed M. Machine learning-based prediction and classification of psychiatric symptoms induced by drug and plants toxicity. Gamification and Augmented Reality [Internet]. 2025 Feb. 12 [cited 2025 Feb. 28];3:107. Available from: https://gr.ageditor.ar/index.php/gr/article/view/107

(6) Boutet A, Madhavan R, Elias GJB, et al. Predicting optimal deep brain stimulation parameters for Parkinson's disease using functional MRI and machine learning. Nat Commun. 2021;12(1):3043. Published 2021 May 24. doi:10.1038/s41467-021-23311-9

(7) M. A. Wahed, M. S. Alzboon, M. Alqaraleh, M. Al-Batah, A. F. Bader and S. A. Wahed, "Enhancing Diagnostic Precision in Pediatric Urology: Machine Learning Models for Automated Grading of Vesicoureteral Reflux," 2024 7th International Conference on Internet Applications, Protocols, and Services (NETAPPS), Kuala Lumpur, Malaysia, 2024, pp. 1-7, doi: 10.1109/NETAPPS63333.2024.10823509.

(8) Mutaz Abdel Wahed Enhanced machine learning algorithm for detection and classification of phishing attacks // International Journal of Open Information Technologies. 2025. №1. URL: https://cyberleninka.ru/article/n/enhanced-machine-learning-algorithm-for-detection-and-classification-of-phishing-attacks.

(9) Wahed MA, Alqaraleh M, Salem Alzboon M, Subhi Al-Batah M. Evaluating AI and Machine Learning Models in Breast Cancer Detection: A Review of Convolutional Neural Networks (CNN) and Global Research Trends. LatIA [Internet]. 2025 Jan. 1 [cited 2025 Feb. 28];3:117. Available from: https://latia.ageditor.uy/index.php/latia/article/view/117

(10) M. A. Wahed, "Real-Time Intrusion Detection and Traffic Analysis Using AI Techniques in IoT Infrastructure," 2024 1st International Conference on Emerging Technologies for Dependable Internet of Things (ICETI), Sana'a, Yemen, 2024, pp. 1-6, doi: 10.1109/ICETI63946.2024.10777213.

(11) Skyrman S, Bartek J Jr, Haghighi M, et al. Preoperative antibiotic prophylaxis regimen in brain tumour surgery in Sweden: a quasi-experimental study. Acta Neurochir (Wien). 2020;162(11):2849-2856. doi:10.1007/s00701-020-04309-6

(12) Geraghty J, Feely M. Antibiotic prophylaxis in neurosurgery. A randomized controlled trial. J Neurosurg. 1984;60(4):724-726. doi:10.3171/jns.1984.60.4.0724

(13) Mamlook REA, Wells LJ, Sawyer R. Machine-learning models for predicting surgical site infections using patient pre-operative risk and surgical procedure factors. Am J Infect Control. 2023;51(5):544-550. doi:10.1016/j.ajic.2022.08.013

(14) Gutierrez-Naranjo, J.M., Moreira, A., Valero-Moreno, E. et al. ­A machine learning model to predict surgical site infection after surgery of lower extremity fractures. International Orthopaedics (SICOT) 48, 1887–1896 (2024). https://doi.org/10.1007/s00264-024-06194-5

(15) M. A. Wahed, M. S. Alzboon, M. Alqaraleh, J. Ayman, M. Al-Batah and A. F. Bader, "Automating Web Data Collection: Challenges, Solutions, and Python-Based Strategies for Effective Web Scraping," 2024 7th International Conference on Internet Applications, Protocols, and Services (NETAPPS), Kuala Lumpur, Malaysia, 2024, pp. 1-6, doi: 10.1109/NETAPPS63333.2024.10823528.

Downloads

Published

2025-04-04

How to Cite

1.
Abdel Wahed S, Abdel Wahed M. Optimizing Antibiotics Prophylaxis in Neurosurgery through Machin Learning: Predicting Infections and Personalizing Treatment Strategies. Gamification and Augmented Reality [Internet]. 2025 Apr. 4 [cited 2025 Apr. 20];3:108. Available from: https://gr.ageditor.ar/index.php/gr/article/view/108