首页|期刊导航|临床神经外科杂志|基于机器学习的综合预测模型用于评估神经外科术后细菌性脑膜炎的风险

基于机器学习的综合预测模型用于评估神经外科术后细菌性脑膜炎的风险OA

A comprehensive prediction model based on machine learning for assessing the risk of postoperative bacterial meningitis

中文摘要英文摘要

目的 利用机器学习算法整合临床与脑脊液(CSF)特征,构建并验证用于早期识别神经外科术后细菌性脑膜炎高危患者的预测模型.方法 回顾性纳入2020 年12 月—2024 年12 月江苏大学附属昆山第一人民医院重症监护室收治的196 例颅脑手术后疑似细菌性脑膜炎患者.对人口学信息、合并症、吸烟饮酒史及CSF指标进行盲法处理、编码与标准化,采用极端梯度提升(XGB)、随机森林(RF)、多层感知器(MLP)和逻辑回归(LR)算法构建模型.按6∶4 分为训练集118 例与测试集78 例,训练集中使用人工少数类过采样法(SMOTE)处理类别不平衡;以受试者工作特征(ROC)曲线下面积(AUC)为主要判别指标,并结合准确率、F1 值、精确率-召回率曲线下面积(AUPRC)及Brier得分综合评估模型性能.结果 细菌性脑膜炎组和非细菌性脑膜炎组在高血压、糖尿病、吸烟、饮酒等合并症,以及乳酸、纤维连接蛋白、白细胞、蛋白质、葡萄糖等指标上差异具有统计学意义(P<0.05).多因素分析筛选出 8 项独立相关变量,分别为高血压、吸烟、饮酒、CSF乳酸、纤维连接蛋白、白细胞、蛋白质及葡萄糖.四种模型中XGB表现最佳,训练集AUC为0.932;测试集AUC为0.968,准确率0.906,F1 值0.916,AUPRC为0.989,Brier得分0.070.结论 基础疾病与不良生活习惯与术后细菌性脑膜炎发生密切相关;基于上述临床与CSF指标的XGB模型具备较好的早期识别能力,可为术后感染风险评估与临床决策提供辅助.

Objective To integrate clinical and cerebrospinal fluid(CSF)features using machine-learning algorithms to develop and validate a prediction model for early identification of high-risk patients with postoperative bacterial meningitis after neurosurgery.Methods A total of 196 patients with suspected postoperative bacterial meningitis after craniocerebral surgery admitted to the intensive care unit of Kunshan First People's Hospital Affiliated to Jiangsu University from December 2020 to December 2024 were enrolled retrospectively.Demographic characteristics,comorbidities,smoking and alcohol history,and CSF parameters were collected and preprocessed using blinded procedures,encoding,and standardization.Models were developed using Extreme Gradient Boosting(XGB),Random Forest(RF),Multilayer Perceptron(MLP),and Logistic Regression(LR).Patients were randomly split into a training set(n=118)and a testing set(n=78)at a 6∶4 ratio.SMOTE was applied to the training set to address class imbalance.Model performance was primarily assessed based on the area under curve(AUC)of receiver operating characteristic(ROC)and further evaluated using accuracy,F1-score,area under the precision-recall curve(AUPRC),and Brier score.Results Significant differences between the bacterial meningitis and non-bacterial meningitis groups were observed in comorbidities and lifestyle factors(hypertension,diabetes,smoking,and alcohol consumption),as well as CSF indices(lactate,fibronectin,white blood cells,protein,and glucose).Multivariable analysis identified eight independent predictors,including hypertension,smoking,alcohol consumption,CSF lactate,CSF fibronectin,CSF white blood cells,CSF protein,and CSF glucose.Among the four models,XGB achieved the best performance,with an AUC of 0.932 in the training set and an AUC of 0.968 in the testing set;the testing-set accuracy was 0.906,F1-score 0.916,AUPRC 0.989,and Brier score 0.07.Conclusions Comorbidities and unhealthy lifestyle habits were closely associated with postoperative bacterial meningitis.The XGB model incorporating the above clinical and CSF features demonstrated good early discriminatory performance and may support postoperative infection risk stratification and clinical decision-making.

王琴;王永芳;金芳;顾晨;彭媛

215300 苏州,江苏大学附属昆山医院重症医学科215300 苏州,江苏大学附属昆山医院重症医学科215300 苏州,江苏大学附属昆山医院重症医学科215300 苏州,江苏大学附属昆山医院重症医学科215300 苏州,江苏大学附属昆山医院重症医学科

医药卫生

神经外科手术细菌性脑膜炎机器学习预测模型

neurosurgerybacterial meningitismachine learningprediction model

《临床神经外科杂志》 2026 (1)

85-90,6

2024 年昆山市级科技专项项目(KS2406)昆山市社会发展计划资助项目(KS2245)江苏大学校级课题项目(JDY2022014)

10.3969/j.issn.1672-7770.2026.01.015

评论