Construction and validation of a machine learning-based nomogram model for predicting pneumonia risk in patients with catatonia: a retrospective observational study.

IF 3.2 3区 医学 Q2 PSYCHIATRY
Frontiers in Psychiatry Pub Date : 2025-03-14 eCollection Date: 2025-01-01 DOI:10.3389/fpsyt.2025.1557659
Yi-Chao Wang, Qian He, Yue-Jing Wu, Li Zhang, Sha Wu, Xiao-Jia Fang, Shao-Shen Jia, Fu-Gang Luo
{"title":"Construction and validation of a machine learning-based nomogram model for predicting pneumonia risk in patients with catatonia: a retrospective observational study.","authors":"Yi-Chao Wang, Qian He, Yue-Jing Wu, Li Zhang, Sha Wu, Xiao-Jia Fang, Shao-Shen Jia, Fu-Gang Luo","doi":"10.3389/fpsyt.2025.1557659","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>Catatonia was often complicated by pneumonia, and the development of severe pneumonia after admission posed significant challenges to its treatment. This study aimed to develop a Nomogram Model based on pre-admission characteristics of patients with catatonia to predict the risk of pneumonia after admission.</p><p><strong>Methods: </strong>This retrospective observational study reviewed catatonia patients hospitalized at Hangzhou Seventh People's Hospital from September 2019 to November 2024. Data included demographic characteristics, medical history, maintenance medications, and pre-admission clinical presentations. Patients were divided into catatonia with and without pneumonia groups. The LASSO Algorithm was used for feature selection, and seven machine learning models: Decision Tree(DT), Logistic Regression(LR), Naive Bayes(NB), Random Forest(RF), K Nearest Neighbors(KNN), Gradient Boosting Machine(GBM), Support Vector Machine(SVM) were trained. Model performance was evaluated using AUC, Accuracy, Sensitivity, Specificity, Positive Predictive Value, Negative Predictive Value, F1 Score, Cohen's Kappa, and Brier Score, and Brier score. The best-performing model was selected for multivariable analysis to determine the variables included in the final Nomogram Model. The Nomogram Model was further validated through ROC Curves, Calibration Curves, Decision Curve Analysis (DCA), and Bootstrapping to ensure discrimination, calibration, and clinical applicability.</p><p><strong>Results: </strong>Among 156 patients, 79 had no pneumonia, and 77 had pneumonia. LASSO Algorithm identified 15 non-zero coefficient variables (LASSO 1-SEλ=0.076). The GBM showed the best performance (AUC = 0.954, 95% CI: 0.924-0.983, <i>vs</i> other models by DeLong's test: <i>P</i> < 0.05). Five key variables: Age, Clozapine, Diaphoresis, Intake Refusal, and Waxy Flexibility were used to construct the Nomogram Model. Validation showed good discrimination (AUC = 0.803, 95% CI: 0.735-0.870), calibration, and clinical applicability. Internal validation (Bootstrapping, n=500) confirmed model stability (AUC = 0.814, 95% CI: 0.743-0.878; Hosmer-Lemeshow <i>P</i> = 0.525).</p><p><strong>Conclusion: </strong>This study developed a Nomogram Model based on five key factors, demonstrating significant clinical value in predicting the risk of pneumonia in hospitalized patients with catatonia.</p>","PeriodicalId":12605,"journal":{"name":"Frontiers in Psychiatry","volume":"16 ","pages":"1557659"},"PeriodicalIF":3.2000,"publicationDate":"2025-03-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11951867/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Frontiers in Psychiatry","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.3389/fpsyt.2025.1557659","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0

Abstract

Objective: Catatonia was often complicated by pneumonia, and the development of severe pneumonia after admission posed significant challenges to its treatment. This study aimed to develop a Nomogram Model based on pre-admission characteristics of patients with catatonia to predict the risk of pneumonia after admission.

Methods: This retrospective observational study reviewed catatonia patients hospitalized at Hangzhou Seventh People's Hospital from September 2019 to November 2024. Data included demographic characteristics, medical history, maintenance medications, and pre-admission clinical presentations. Patients were divided into catatonia with and without pneumonia groups. The LASSO Algorithm was used for feature selection, and seven machine learning models: Decision Tree(DT), Logistic Regression(LR), Naive Bayes(NB), Random Forest(RF), K Nearest Neighbors(KNN), Gradient Boosting Machine(GBM), Support Vector Machine(SVM) were trained. Model performance was evaluated using AUC, Accuracy, Sensitivity, Specificity, Positive Predictive Value, Negative Predictive Value, F1 Score, Cohen's Kappa, and Brier Score, and Brier score. The best-performing model was selected for multivariable analysis to determine the variables included in the final Nomogram Model. The Nomogram Model was further validated through ROC Curves, Calibration Curves, Decision Curve Analysis (DCA), and Bootstrapping to ensure discrimination, calibration, and clinical applicability.

Results: Among 156 patients, 79 had no pneumonia, and 77 had pneumonia. LASSO Algorithm identified 15 non-zero coefficient variables (LASSO 1-SEλ=0.076). The GBM showed the best performance (AUC = 0.954, 95% CI: 0.924-0.983, vs other models by DeLong's test: P < 0.05). Five key variables: Age, Clozapine, Diaphoresis, Intake Refusal, and Waxy Flexibility were used to construct the Nomogram Model. Validation showed good discrimination (AUC = 0.803, 95% CI: 0.735-0.870), calibration, and clinical applicability. Internal validation (Bootstrapping, n=500) confirmed model stability (AUC = 0.814, 95% CI: 0.743-0.878; Hosmer-Lemeshow P = 0.525).

Conclusion: This study developed a Nomogram Model based on five key factors, demonstrating significant clinical value in predicting the risk of pneumonia in hospitalized patients with catatonia.

预测紧张症患者肺炎风险的基于机器学习的nomogram模型的构建和验证:一项回顾性观察性研究。
目的:紧张症常合并肺炎,入院后发生重症肺炎给其治疗带来重大挑战。本研究旨在建立基于紧张症患者入院前特征的Nomogram Model,预测其入院后发生肺炎的风险。方法:回顾性观察分析杭州市第七人民医院2019年9月至2024年11月住院的紧张症患者。数据包括人口统计学特征、病史、维持药物和入院前临床表现。患者分为紧张症合并肺炎组和非肺炎组。采用LASSO算法进行特征选择,训练了决策树(DT)、逻辑回归(LR)、朴素贝叶斯(NB)、随机森林(RF)、K近邻(KNN)、梯度增强机(GBM)、支持向量机(SVM)等7种机器学习模型。采用AUC、准确性、敏感性、特异性、阳性预测值、阴性预测值、F1评分、Cohen’s Kappa评分、Brier评分和Brier评分评估模型性能。选择表现最好的模型进行多变量分析,以确定最终Nomogram model中包含的变量。通过ROC曲线、校准曲线、决策曲线分析(DCA)和Bootstrapping进一步验证Nomogram Model,以确保其鉴别、校准和临床适用性。结果156例患者中,无肺炎79例,肺炎77例。LASSO算法识别出15个非零系数变量(LASSO 1-SEλ=0.076)。与其他模型相比,GBM表现最佳(AUC = 0.954, 95% CI: 0.924 ~ 0.983,经DeLong检验:P < 0.05)。五个关键变量:年龄、氯氮平、汗量、拒绝摄入和蜡质柔韧性被用来构建Nomogram Model。验证显示良好的鉴别(AUC = 0.803, 95% CI: 0.735-0.870)、校准和临床适用性。内部验证(Bootstrapping, n=500)证实了模型的稳定性(AUC = 0.814, 95% CI: 0.743-0.878;Hosmer-Lemeshow P = 0.525)。结论:本研究建立了基于五个关键因素的Nomogram Model,对预测住院紧张症患者肺炎风险具有重要的临床价值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Frontiers in Psychiatry
Frontiers in Psychiatry Medicine-Psychiatry and Mental Health
CiteScore
6.20
自引率
8.50%
发文量
2813
审稿时长
14 weeks
期刊介绍: Frontiers in Psychiatry publishes rigorously peer-reviewed research across a wide spectrum of translational, basic and clinical research. Field Chief Editor Stefan Borgwardt at the University of Basel is supported by an outstanding Editorial Board of international researchers. This multidisciplinary open-access journal is at the forefront of disseminating and communicating scientific knowledge and impactful discoveries to researchers, academics, clinicians and the public worldwide. The journal''s mission is to use translational approaches to improve therapeutic options for mental illness and consequently to improve patient treatment outcomes.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信