School of Clinical Medicine, University of Cambridge, Cambridge, UK; Health Economics Unit, NHS Midlands and Lancashire Commissioning Support Unit, Leyland, UK.
Health Economics Unit, NHS Midlands and Lancashire Commissioning Support Unit, Leyland, UK.
Int J Med Inform. 2023 Sep;177:105164. doi: 10.1016/j.ijmedinf.2023.105164. Epub 2023 Jul 25.
Self-harm is one of the most common presentations at accident and emergency departments in the UK and is a strong predictor of suicide risk. The UK Government has prioritised identifying risk factors and developing preventative strategies for self-harm. Machine learning offers a potential method to identify complex patterns with predictive value for the risk of self-harm.
National data in the UK Mental Health Services Data Set were isolated for patients aged 18-30 years who started a mental health hospital admission between Aug 1, 2020 and Aug 1, 2021, and had been discharged by Jan 1, 2022. Data were obtained on age group, gender, ethnicity, employment status, marital status, accommodation status and source of admission to hospital and used to construct seven machine learning models that were used individually and as an ensemble to predict hospital stays that would be associated with a risk of self-harm.
The training dataset included 23 808 items (including 1081 episodes of self-harm) and the testing dataset 5951 items (including 270 episodes of self-harm). The best performing algorithms were the random forest model (AUC-ROC 0.70, 95%CI:0.66-0.74) and the ensemble model (AUC-ROC 0.77 95%CI:0.75-0.79).
Machine learning algorithms could predict hospital stays with a high risk of self-harm based on readily available data that are routinely collected by health providers and recorded in the Mental Health Services Data Set. The findings should be validated externally with other real-world, prospective data.
This study was supported by the Midlands and Lancashire Commissioning Support Unit.
在英国,意外伤害急诊部门最常见的就诊原因之一是自残,而且自残是自杀风险的一个强有力预测因素。英国政府已将确定自残的风险因素和制定预防策略作为优先事项。机器学习为识别具有自残风险预测价值的复杂模式提供了一种潜在方法。
从英国心理健康服务数据集(UK Mental Health Services Data Set)中提取了 2020 年 8 月 1 日至 2021 年 8 月 1 日期间开始接受精神科住院治疗、并于 2022 年 1 月 1 日之前出院的年龄在 18-30 岁的患者的全国数据。获取了年龄组、性别、种族、就业状况、婚姻状况、住宿状况和入院来源的数据,并将其用于构建七个机器学习模型,这些模型单独使用和作为一个集合使用,以预测与自残风险相关的住院治疗。
训练数据集包括 23808 项(包括 1081 例自残),测试数据集包括 5951 项(包括 270 例自残)。表现最好的算法是随机森林模型(AUC-ROC 0.70,95%CI:0.66-0.74)和集成模型(AUC-ROC 0.77,95%CI:0.75-0.79)。
机器学习算法可以根据卫生提供者常规收集并记录在心理健康服务数据集(Mental Health Services Data Set)中的现成数据,预测具有高自残风险的住院治疗。研究结果应使用其他真实世界的前瞻性数据进行外部验证。
本研究由中部和兰开夏郡委托支持单位资助。