Using Machine Learning and the HAMD-24 Scale to Predict Suicide Ideation in Depressed Patients.

IF 3.2 3区 心理学 Q2 PSYCHOLOGY, CLINICAL
Psychology Research and Behavior Management Pub Date : 2025-10-12 eCollection Date: 2025-01-01 DOI:10.2147/PRBM.S537582
Yun Chen, Zhong-Yi Jiang, Guan-Zhong Dong, Wei-Yuan Zhang, Ke Wang, Hai-Yan Yang
{"title":"Using Machine Learning and the HAMD-24 Scale to Predict Suicide Ideation in Depressed Patients.","authors":"Yun Chen, Zhong-Yi Jiang, Guan-Zhong Dong, Wei-Yuan Zhang, Ke Wang, Hai-Yan Yang","doi":"10.2147/PRBM.S537582","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>The aim of this study was to identify factors associated with suicidal ideation and to develop a prediction model for early suicide ideation risk using machine learning algorithms based on the Hamilton Depression Scale (HAMD-24).</p><p><strong>Methods: </strong>A total of 374 patients with depression were included from the outpatient department of the Psychology Department at the Second People's Hospital of Changzhou City. Depression severity was assessed using the HAMD-24, while the Beck Suicide Ideation (BSI) Questionnaire (Chinese Version) was employed to categorize patients into those with and without suicidal ideation. Suicide ideation risk in patients with depression was predicted using four machine learning models: support vector machine, naive Bayes classification, random forest, and extreme random trees classification (ERTC). This superiority is attributed to ERTC's extreme randomization which mitigates overfitting in high-dimensional symptom data. The models were evaluated based on accuracy, precision, recall, F1 scores, Kappa coefficients, Matthew's correlation coefficients, and area under the curve values. The optimal model was then selected, and the factors most strongly associated with suicidal ideation using the HAMD-24 were identified and analyzed.</p><p><strong>Results: </strong>The ERTC model outperformed SVM, NBC and RF (accuracy 77.75%, AUC 0.80), and despair, guilt, inferiority complex, work and interests loss, depression emotions were the strongest predictors of suicidal ideation. Demographically, patients with suicidal ideation were significantly younger and less likely to be using antidepressants. This is likely attributable to its ensemble structure and inherent randomization during node splitting, which enhances robustness against overfitting and improves generalization when handling the complex, potentially non-linear relationships between HAMD-24 items and suicidal ideation.</p><p><strong>Conclusion: </strong>We identified the optimal model and then analyzed the factors most strongly associated with HAMD-24 suicidal ideation. The ERTC model, demonstrating superior performance, enables early interventions, and reduces suicide rates. Moreover, this model provides a theoretical reference for the development of new scales focused on depression and suicide.</p>","PeriodicalId":20954,"journal":{"name":"Psychology Research and Behavior Management","volume":"18 ","pages":"2153-2165"},"PeriodicalIF":3.2000,"publicationDate":"2025-10-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC12531378/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychology Research and Behavior Management","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.2147/PRBM.S537582","RegionNum":3,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/1/1 0:00:00","PubModel":"eCollection","JCR":"Q2","JCRName":"PSYCHOLOGY, CLINICAL","Score":null,"Total":0}
引用次数: 0

Abstract

Objective: The aim of this study was to identify factors associated with suicidal ideation and to develop a prediction model for early suicide ideation risk using machine learning algorithms based on the Hamilton Depression Scale (HAMD-24).

Methods: A total of 374 patients with depression were included from the outpatient department of the Psychology Department at the Second People's Hospital of Changzhou City. Depression severity was assessed using the HAMD-24, while the Beck Suicide Ideation (BSI) Questionnaire (Chinese Version) was employed to categorize patients into those with and without suicidal ideation. Suicide ideation risk in patients with depression was predicted using four machine learning models: support vector machine, naive Bayes classification, random forest, and extreme random trees classification (ERTC). This superiority is attributed to ERTC's extreme randomization which mitigates overfitting in high-dimensional symptom data. The models were evaluated based on accuracy, precision, recall, F1 scores, Kappa coefficients, Matthew's correlation coefficients, and area under the curve values. The optimal model was then selected, and the factors most strongly associated with suicidal ideation using the HAMD-24 were identified and analyzed.

Results: The ERTC model outperformed SVM, NBC and RF (accuracy 77.75%, AUC 0.80), and despair, guilt, inferiority complex, work and interests loss, depression emotions were the strongest predictors of suicidal ideation. Demographically, patients with suicidal ideation were significantly younger and less likely to be using antidepressants. This is likely attributable to its ensemble structure and inherent randomization during node splitting, which enhances robustness against overfitting and improves generalization when handling the complex, potentially non-linear relationships between HAMD-24 items and suicidal ideation.

Conclusion: We identified the optimal model and then analyzed the factors most strongly associated with HAMD-24 suicidal ideation. The ERTC model, demonstrating superior performance, enables early interventions, and reduces suicide rates. Moreover, this model provides a theoretical reference for the development of new scales focused on depression and suicide.

使用机器学习和HAMD-24量表预测抑郁症患者的自杀意念。
目的:本研究的目的是确定与自杀意念相关的因素,并利用基于汉密尔顿抑郁量表(HAMD-24)的机器学习算法建立早期自杀意念风险预测模型。方法:选取常州市第二人民医院心理科门诊就诊的抑郁症患者374例。采用HAMD-24量表评估抑郁程度,采用贝克自杀意念问卷(中文版)将患者分为有和无自杀意念两组。采用支持向量机、朴素贝叶斯分类、随机森林和极端随机树分类(ERTC)四种机器学习模型预测抑郁症患者的自杀意念风险。这种优势归因于ERTC的极端随机化,减轻了高维症状数据的过拟合。根据准确率、精密度、召回率、F1分数、Kappa系数、马修相关系数和曲线下面积值对模型进行评价。然后选择最优模型,并使用HAMD-24识别和分析与自杀意念最密切相关的因素。结果:ERTC模型优于SVM、NBC和RF(准确率77.75%,AUC 0.80),绝望、内疚、自卑、工作和兴趣丧失、抑郁情绪是自杀意念的最强预测因子。人口统计学上,有自杀念头的患者明显更年轻,使用抗抑郁药的可能性更小。这可能归因于其整体结构和节点分裂过程中固有的随机性,这增强了对过拟合的鲁棒性,并在处理HAMD-24项目与自杀意念之间复杂的潜在非线性关系时提高了泛化能力。结论:确定了HAMD-24自杀意念的最优模型,分析了影响HAMD-24自杀意念的因素。ERTC模型表现出卓越的性能,使早期干预成为可能,并降低了自杀率。此外,该模型为开发新的抑郁与自杀量表提供了理论参考。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
4.50
自引率
4.70%
发文量
341
审稿时长
16 weeks
期刊介绍: Psychology Research and Behavior Management is an international, peer-reviewed, open access journal focusing on the science of psychology and its application in behavior management to develop improved outcomes in the clinical, educational, sports and business arenas. Specific topics covered in the journal include: -Neuroscience, memory and decision making -Behavior modification and management -Clinical applications -Business and sports performance management -Social and developmental studies -Animal studies The journal welcomes submitted papers covering original research, clinical studies, surveys, reviews and evaluations, guidelines, expert opinion and commentary, case reports and extended reports.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信