Development of a machine learning model and a web application for predicting neurological outcome at hospital discharge in spinal cord injury patients

IF 4.7 1区 医学 Q1 CLINICAL NEUROLOGY Spine Journal Pub Date : 2025-01-31 DOI:10.1016/j.spinee.2025.01.005
Kyota Kitagawa MD , Satoshi Maki MD, PhD , Takeo Furuya MD, PhD , Yuki Shiratani MD , Yuki Nagashima MD , Juntaro Maruyama MD , Yasunori Toki MD , Shuhei Iwata MD , Masahiro Inoue MD, PhD , Yasuhiro Shiga MD, PhD , Kazuhide Inage MD, PhD , Sumihisa Orita MD, PhD , Seiji Ohtori MD, PhD
{"title":"Development of a machine learning model and a web application for predicting neurological outcome at hospital discharge in spinal cord injury patients","authors":"Kyota Kitagawa MD ,&nbsp;Satoshi Maki MD, PhD ,&nbsp;Takeo Furuya MD, PhD ,&nbsp;Yuki Shiratani MD ,&nbsp;Yuki Nagashima MD ,&nbsp;Juntaro Maruyama MD ,&nbsp;Yasunori Toki MD ,&nbsp;Shuhei Iwata MD ,&nbsp;Masahiro Inoue MD, PhD ,&nbsp;Yasuhiro Shiga MD, PhD ,&nbsp;Kazuhide Inage MD, PhD ,&nbsp;Sumihisa Orita MD, PhD ,&nbsp;Seiji Ohtori MD, PhD","doi":"10.1016/j.spinee.2025.01.005","DOIUrl":null,"url":null,"abstract":"<div><h3>BACKGROUND</h3><div>Spinal cord injury (SCI) is a devastating condition with profound physical, psychological, and socioeconomic consequences. Despite advances in SCI treatment, accurately predicting functional recovery remains a significant challenge. Conventional prognostic methods often fall short in capturing the complex interplay of factors influencing SCI outcomes. There is an urgent demand for more precise and comprehensive prognostic tools that can guide clinical decision-making and improve patient care in SCI.</div></div><div><h3>PURPOSE</h3><div>This study aims to develop and validate a machine learning (ML) model for predicting American Spinal Injury Association (ASIA) Impairment Scale (AIS) at discharge in SCI patients. We also aim to convert this model into an open-access web application.</div></div><div><h3>STUDY DESIGN/SETTING</h3><div>This was a retrospective cohort study enrolling traumatic SCI patients from 1991 to 2015, analyzed in 2023. Data were obtained from the Japan Rehabilitation Database (JARD), a comprehensive nationwide database that includes SCI patients from specialized SCI centers and rehabilitation hospitals across Japan.</div></div><div><h3>PATIENTS SAMPLE</h3><div>A total of 4,108 SCI cases from JARD were reviewed, excluding 405 cases, patients caused by nontraumatic injuries, patients who were graded as AIS E at admission, and patients without data of AIS at discharge, resulting in 3,703 cases being included in the study. Patient demographics and specific SCI injury characteristics at admission were utilized for model training and prediction.</div></div><div><h3>OUTCOME MEASURES</h3><div>Model performance was evaluated based on R<sup>2</sup>, accuracy, and the weighted Kappa coefficient. Shapley additive explanations (SHAP) values highlighted significant features influencing the model's output.</div></div><div><h3>METHODS</h3><div>The primary outcome was AIS at discharge, treated as a continuous variable (0-4) to capture the ordinal nature and clinical significance of potential misclassifications. Data preprocessing included multicollinearity removal, feature selection using the Boruta algorithm, and iterative imputation for missing data. The dataset was split using the hold-out method with a 7:3 ratio resulting in 2,592 cases for training and 1,111 cases for testing the regression model. A best performing model was defined as the highest R<sup>2</sup> using PyCaret's automated model comparison. Final predictions of regression model were discretized to the original AIS categories for clinical interpretation.</div></div><div><h3>RESULTS</h3><div>The Gradient Boosting Regressor (GBR) was identified as the optimal model. The GBR model showed an R² of 0.869, accuracy of 0.814, and weighted Kappa of 0.940. Eleven key variables, including AIS at admission, the day from injury to admission, and the motor score of L3, were identified as significant based on SHAP values. This model was then adapted into a web application via Streamlit.</div></div><div><h3>CONCLUSIONS</h3><div>We developed a high-accuracy ML model for predicting the AIS at discharge, which effectively captures the ordinal nature of the AIS scale, using 11 key variables. This model demonstrated its performance to provide reliable prognostic information. The model has been integrated into a user-friendly, open-access web application (<span><span>http://3.138.174.54:8502/</span><svg><path></path></svg></span>). This tool has the potential to aid in resource allocation and enhance treatment for each patient.</div></div>","PeriodicalId":49484,"journal":{"name":"Spine Journal","volume":"25 7","pages":"Pages 1483-1493"},"PeriodicalIF":4.7000,"publicationDate":"2025-01-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Spine Journal","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1529943025000427","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CLINICAL NEUROLOGY","Score":null,"Total":0}
引用次数: 0

Abstract

BACKGROUND

Spinal cord injury (SCI) is a devastating condition with profound physical, psychological, and socioeconomic consequences. Despite advances in SCI treatment, accurately predicting functional recovery remains a significant challenge. Conventional prognostic methods often fall short in capturing the complex interplay of factors influencing SCI outcomes. There is an urgent demand for more precise and comprehensive prognostic tools that can guide clinical decision-making and improve patient care in SCI.

PURPOSE

This study aims to develop and validate a machine learning (ML) model for predicting American Spinal Injury Association (ASIA) Impairment Scale (AIS) at discharge in SCI patients. We also aim to convert this model into an open-access web application.

STUDY DESIGN/SETTING

This was a retrospective cohort study enrolling traumatic SCI patients from 1991 to 2015, analyzed in 2023. Data were obtained from the Japan Rehabilitation Database (JARD), a comprehensive nationwide database that includes SCI patients from specialized SCI centers and rehabilitation hospitals across Japan.

PATIENTS SAMPLE

A total of 4,108 SCI cases from JARD were reviewed, excluding 405 cases, patients caused by nontraumatic injuries, patients who were graded as AIS E at admission, and patients without data of AIS at discharge, resulting in 3,703 cases being included in the study. Patient demographics and specific SCI injury characteristics at admission were utilized for model training and prediction.

OUTCOME MEASURES

Model performance was evaluated based on R2, accuracy, and the weighted Kappa coefficient. Shapley additive explanations (SHAP) values highlighted significant features influencing the model's output.

METHODS

The primary outcome was AIS at discharge, treated as a continuous variable (0-4) to capture the ordinal nature and clinical significance of potential misclassifications. Data preprocessing included multicollinearity removal, feature selection using the Boruta algorithm, and iterative imputation for missing data. The dataset was split using the hold-out method with a 7:3 ratio resulting in 2,592 cases for training and 1,111 cases for testing the regression model. A best performing model was defined as the highest R2 using PyCaret's automated model comparison. Final predictions of regression model were discretized to the original AIS categories for clinical interpretation.

RESULTS

The Gradient Boosting Regressor (GBR) was identified as the optimal model. The GBR model showed an R² of 0.869, accuracy of 0.814, and weighted Kappa of 0.940. Eleven key variables, including AIS at admission, the day from injury to admission, and the motor score of L3, were identified as significant based on SHAP values. This model was then adapted into a web application via Streamlit.

CONCLUSIONS

We developed a high-accuracy ML model for predicting the AIS at discharge, which effectively captures the ordinal nature of the AIS scale, using 11 key variables. This model demonstrated its performance to provide reliable prognostic information. The model has been integrated into a user-friendly, open-access web application (http://3.138.174.54:8502/). This tool has the potential to aid in resource allocation and enhance treatment for each patient.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
开发用于预测脊髓损伤患者出院时神经功能预后的机器学习模型和网络应用程序。
背景:脊髓损伤(SCI)是一种具有严重生理、心理和社会经济后果的毁灭性疾病。尽管脊髓损伤治疗取得了进展,但准确预测功能恢复仍然是一个重大挑战。传统的预后方法往往无法捕捉影响脊髓损伤结果的各种因素之间复杂的相互作用。迫切需要更精确和全面的预后工具来指导临床决策和改善脊髓损伤患者的护理。目的:本研究旨在开发和验证一个机器学习(ML)模型,用于预测脊髓损伤患者出院时的美国脊髓损伤协会(ASIA)损伤量表(AIS)。我们还打算将这个模型转换成一个开放访问的web应用程序。研究设计/环境:这是一项回顾性队列研究,纳入1991年至2015年的创伤性脊髓损伤患者,于2023年进行分析。数据来自日本康复数据库(JARD),这是一个综合性的全国性数据库,包括来自日本专业SCI中心和康复医院的SCI患者。患者样本:共纳入JARD的4108例SCI病例,排除405例、非创伤性损伤所致患者、入院时AIS分级为E级患者和出院时无AIS资料的患者,共纳入3703例。患者人口学特征和入院时特定的脊髓损伤特征被用于模型训练和预测。结果测量:根据R2、准确性和加权Kappa系数评估模型的性能。Shapley加性解释(SHAP)值突出了影响模型输出的重要特征。方法:主要终点是出院时的AIS,作为连续变量(0-4),以捕获潜在误分类的顺序性质和临床意义。数据预处理包括多重共线性去除、Boruta算法特征选择、缺失数据迭代补全。使用hold-out方法以7:3的比例分割数据集,结果产生2,592例用于训练,1,111例用于测试回归模型。使用PyCaret的自动模型比较,最佳表现的模型被定义为最高的R2。将回归模型的最终预测离散到原始AIS类别,以便临床解释。结果:梯度增强回归器(Gradient Boosting Regressor, GBR)为最优模型。GBR模型的R²为0.869,准确率为0.814,加权Kappa为0.940。11个关键变量,包括入院时的AIS,从受伤到入院的天数,L3的运动评分,根据SHAP值确定为显著性。这个模型随后通过Streamlit被改编成一个web应用程序。结论:我们开发了一个高精度的ML模型来预测出院时的AIS,该模型使用11个关键变量有效地捕捉了AIS量表的顺序性质。该模型能够提供可靠的预后信息。该模型已集成到一个用户友好的开放访问web应用程序(http://3.138.174.54:8502/)中。这个工具有潜力帮助资源分配和加强对每个病人的治疗。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Spine Journal
Spine Journal 医学-临床神经学
CiteScore
8.20
自引率
6.70%
发文量
680
审稿时长
13.1 weeks
期刊介绍: The Spine Journal, the official journal of the North American Spine Society, is an international and multidisciplinary journal that publishes original, peer-reviewed articles on research and treatment related to the spine and spine care, including basic science and clinical investigations. It is a condition of publication that manuscripts submitted to The Spine Journal have not been published, and will not be simultaneously submitted or published elsewhere. The Spine Journal also publishes major reviews of specific topics by acknowledged authorities, technical notes, teaching editorials, and other special features, Letters to the Editor-in-Chief are encouraged.
期刊最新文献
Does Perioperative Ketorolac Use Impact Union Rate in Spine Surgery: A Systematic Review and Meta-Analysis. Health Access, Health Disparities, and Medicare's Transforming Episode Accountability Model (TEAM) in the field of Spine Surgery. GLP-1 Receptor Agonist Use and Perioperative Outcomes After ACDF: A Propensity-Matched Cohort Study. Is more better? Multicenter analysis of the incidence and mechanisms of multiple pelvic fixation failure in adult spinal deformity surgery. Impact of Facility Volume on Outcomes in Primary Malignant Spinal Intramedullary Tumors.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1