Predicting Post-Craniotomy Intracranial Infection Using Perioperative and Early Postoperative Variables: A Retrospective Machine Learning Study

Objective: To identify perioperative clinical and surgical variables associated with intracranial infection (ICI) after craniotomy, and establish an accurate machine learning prediction model for clinical risk stratification and early intervention. Methods: A retrospective study included 419 patients who underwent craniotomy surgery at Xiangyang Central Hospital from May 2017 to April 2024. Perioperative variables were collected. Univariate and multivariate logistic regression were used to screen for risk factors. Four models (LR, RF, XGBoost, LightGBM) were constructed and validated through AUC, sensitivity, specificity, PPV, NPV, calibration curve, and DCA were used to evaluate the performance. Results: 53 patients (12.6%) developed ICI. Independent risk factors included prolonged surgical time, significant intraoperative bleeding, postoperative cerebrospinal fluid leakage, multiple surgeries (≥ 2), and frequent cerebrospinal fluid sampling/drug injection through drainage tubes. LightGBM achieved the best performance: training set AUC 0.873 (95% CI 0.819-0.927), test set AUC 0.811 (95% CI 0.758-0.924), sensitivity 81.0%, specificity 79.3%, PPV 38.6%, NPV 95.7%. Good calibration and high clinical practicality were confirmed. Conclusion: Machine learning models, especially LightGBM, can effectively predict postoperative ICI. The identified risk factors and best models support personalized risk assessment and clinical prevention.

Authors

Institutions

Publication Details

Journal
International Journal of General Medicine
Published
2026-05-01
DOI
https://doi.org/10.2147/ijgm.s596122
Primary Topic
Surgical site infection prevention
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting Post-Craniotomy Intracranial Infection Using Perioperative and Early Postoperative Variables: A Retrospective Machine Learning Study

Liangjin Zhang, Zian Zhong, Bing Xu, Ping Yu
International Journal of General Medicine
Surgical site infection prevention
article

Predicting Post-Craniotomy Intracranial Infection Using Perioperative and Early Postoperative Variables: A Retrospective Machine Learning Study

Liangjin Zhang, Zian Zhong, Bing Xu, Ping Yu
article en

Abstract

Objective: To identify perioperative clinical and surgical variables associated with intracranial infection (ICI) after craniotomy, and establish an accurate machine learning prediction model for clinical risk stratification and early intervention. Methods: A retrospective study included 419 patients who underwent craniotomy surgery at Xiangyang Central Hospital from May 2017 to April 2024. Perioperative variables were collected. Univariate and multivariate logistic regression were used to screen for risk factors. Four models (LR, RF, XGBoost, LightGBM) were constructed and validated through AUC, sensitivity, specificity, PPV, NPV, calibration curve, and DCA were used to evaluate the performance. Results: 53 patients (12.6%) developed ICI. Independent risk factors included prolonged surgical time, significant intraoperative bleeding, postoperative cerebrospinal fluid leakage, multiple surgeries (≥ 2), and frequent cerebrospinal fluid sampling/drug injection through drainage tubes. LightGBM achieved the best performance: training set AUC 0.873 (95% CI 0.819-0.927), test set AUC 0.811 (95% CI 0.758-0.924), sensitivity 81.0%, specificity 79.3%, PPV 38.6%, NPV 95.7%. Good calibration and high clinical practicality were confirmed. Conclusion: Machine learning models, especially LightGBM, can effectively predict postoperative ICI. The identified risk factors and best models support personalized risk assessment and clinical prevention.

International Journal of General MedicineVol. Volume 19
Hubei University of Arts and Science (CN)
Good health and well-being
Openalex Percentile: Top 12%
Surgical site infection prevention
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.