[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-117572-en":3,"doc-seo-117572-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},117572,1374391974468,"Eden","https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0",8,"Research & Report","Using Machine Learning and the HAMD-24 Scale to Predict Suicide Ideation in Depressed Patients","This study identifies determinants of suicidal ideation and builds an early-risk prediction model for depressed patients using the Hamilton Depression Scale (HAMD-24) with machine learning. The analysis includes 374 depression outpatients, classifying suicidal ideation status via the Beck Suicide Ideation (BSI) Questionnaire. Four models are compared—support vector machine, naive Bayes, random forest, and extreme random trees classification—using accuracy, precision, recall, F1, Kappa, Matthew’s correlation coefficient, and AUC. The ERTC model achieves the best performance (accuracy 77.75%, AUC 0.80) and highlights specific HAMD-24 symptom factors.","Psychology Research and Behavior Management downloaded from [https://www.dovepress.com/](https://www.dovepress.com/)  \nFor personal use only.  \nPsychology Research and Behavior Management  \nOpen Access Full Text Article ORIGINAL RESEARCH  \nUsing Machine Learning and the HAMD-24 Scale to Predict Suicide Ideation in Depressed Patients  \nYun Chen 1 , Zhong-Yi Jiang2 , Guan-Zhong Dong 1 , Wei-Yuan Zhang 1 , Ke Wang 3 , Hai-Yan Yang 1  \n1Department of Psychology, Nanjing Medical University Affiliated Changzhou Second People’s Hospital, Changzhou, Jiangsu, 213000, People’s Republic of China; 2School of Computer and Artificial Intelligence, Changzhou University, Changzhou, Jiangsu, 213000, People’s Republic of China; 3Nursing Teaching and Research Section, Nanjing Medical University Affiliated Changzhou Second People’s Hospital, Changzhou, Jiangsu, 213000, People’s Republic of China  \nCorrespondence: Hai-Yan Yang, Department of Psychology, Nanjing Medical University Affiliated Changzhou Second People’s Hospital, No. 68 Ge Lake Middle Road, Wujin District, Changzhou, Jiangsu, 213000, People’s Republic of China, Tel +86 0519-81099988, [Email yanghaiyanp2@126.com](Email yanghaiyanp2@126.com)  \n\n| 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) .\u003Cbr>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.\u003Cbr>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.\u003Cbr>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.\u003Cbr>Keywords: depression, machine learning, predictive model, suicidal ideation |\n| --- |\n| Introduction\u003Cbr>Depression is a prevalent clinical mental illness characterized by a persistent low mood accompanied by varying degrees of cognitive and behavioral changes, often resulting in functional impairment. It can affect a patient’s education, work, and social life, and in severe cases, may lead to suicide.1 A Chinese mental health survey reported a lifetime prevalence of depression disorder in China of 6.8%, with 53.","cbCaisnPi2pSLJPe","https://ap.wps.com/l/cbCaisnPi2pSLJPe","pdf",2503984,1,13,"English","en",105,"# Objective\n# Methods\n## Participants and assessment\n## Machine learning models and evaluation\n# Results\n## Model performance\n## Key predictors\n# Conclusion\n# Introduction\n# Assessment scales and HAMD-24","[{\"question\":\"Which scale is used to predict suicidal ideation in this study?\",\"answer\":\"The prediction relies on the Hamilton Depression Scale (HAMD-24) symptom items. Suicidal ideation status is categorized using the Beck Suicide Ideation (BSI) Questionnaire (Chinese Version).\"},{\"question\":\"What machine learning models are compared?\",\"answer\":\"The study compares support vector machine, naive Bayes classification, random forest, and extreme random trees classification (ERTC).\"},{\"question\":\"What were the strongest predictors of suicidal ideation?\",\"answer\":\"Despair, guilt, inferiority complex, and loss of work and interests are identified as the strongest HAMD-24-associated predictors of suicidal ideation.\"}]","Using Machine Learning and the HAMD-24 Scale to Predict Suicide Ideation in Depressed Patients | PDF",1785677051,33,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"using-machine-learning-and-the-hamd-24-scale-to-predict-suicide-ideation-in-depressed-patients","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/using-machine-learning-and-the-hamd-24-scale-to-predict-suicide-ideation-in-depressed-patients/117572/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-02",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Which scale is used to predict suicidal ideation in this study?","Question",{"text":75,"@type":76},"The prediction relies on the Hamilton Depression Scale (HAMD-24) symptom items. Suicidal ideation status is categorized using the Beck Suicide Ideation (BSI) Questionnaire (Chinese Version).","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What machine learning models are compared?",{"text":80,"@type":76},"The study compares support vector machine, naive Bayes classification, random forest, and extreme random trees classification (ERTC).",{"name":82,"@type":73,"acceptedAnswer":83},"What were the strongest predictors of suicidal ideation?",{"text":84,"@type":76},"Despair, guilt, inferiority complex, and loss of work and interests are identified as the strongest HAMD-24-associated predictors of suicidal ideation.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,128,131,135],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":132,"doc_module":4,"doc_module_name":46,"category_name":133,"show_sort_weight":132,"slug":134},10,"Lifestyle","lifestyle",{"id":136,"doc_module":4,"doc_module_name":46,"category_name":137,"show_sort_weight":106,"slug":138},19,"General","general"]