Blog

  • How Julia Roberts learned to navigate career criticism

    How Julia Roberts learned to navigate career criticism

    Julia Roberts may an Academy Award-winning actress, but early in her career, she struggled to overcome harsh criticism.

    “I don’t think I entered into my career with much confidence,” Roberts told People Magazine in a recent interview.

    Roberts, who…

    Continue Reading

  • PEOPLE WHO RECEIVE LESS SEDATION WHEN VENTILATOR-DEPENDENT MORE LIKELY TO RETURN TO INDEPENDENT LIVING AFTER HOSPITALIZATION

    New Montefiore Einstein Research Published in The Lancet Respiratory Medicine Emphasizes Importance of Multi-Faceted, Symptom-Focused Treatment Strategy for Critically Ill Patients

    BRONX, N.Y., Oct. 11, 2025

    Continue Reading

  • This Week In Space podcast: Episode 181 — World Space Week

    This Week In Space podcast: Episode 181 — World Space Week

    World Space Week – A UN-Established Global Celebration of Space – YouTube


    Watch On

    On Episode 181 of This Week In Space, Rod Pyle and Tariq Malik are joined by Alma Okpalefe, World Space Week Association’s executive director, to discuss…

    Continue Reading

  • Marianne Vos’ gravel world champs Cervelo Aspero 5

    Marianne Vos’ gravel world champs Cervelo Aspero 5

    Tech features

    Some considered spec choices make this one of the most interesting pro bikes of the…

    Continue Reading

  • Crown Jewel: Roman Reigns smacks Bronson Reed with cricket bat | Watch video

    Crown Jewel: Roman Reigns smacks Bronson Reed with cricket bat | Watch video

    In a chaotic Crown Jewel showdown that lit up Perth and WWE fans worldwide, the fight between “Big” Bronson Reed and “Original Tribal Chief” Roman Reigns delivered a spectacle that had fans on the edge of their seats. The significant moment,…

    Continue Reading

  • Led By BDE, Social Media Content Creators Set For Bound For Glory on October 12

     

    BDE Will Participate In The Call Your Shot Gauntlet, Backed By The Haroon Twins and Brent Oakley

     

    BDE, the popular YouTube content creator and rising pro wrestler, will compete in the TNA Wrestling Call Your Shot…

    Continue Reading

  • Andrew Lloyd Webber, the most successful Broadway composer ever, on why he never invests in his own shows

    Andrew Lloyd Webber, the most successful Broadway composer ever, on why he never invests in his own shows

    By Charles Passy

    The composer of “The Phantom of the Opera,” “Cats,” “Evita” and many others, is enjoying a new – and busy – chapter in his decadeslong career

    Andrew Lloyd Webber’s latest successes include a Broadway production…

    Continue Reading

  • Development of a Machine Learning Model to Predict Suicide Ideation in

    Development of a Machine Learning Model to Predict Suicide Ideation in

    Introduction

    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.1% of patients experiencing suicidal ideation, and 15% ultimately dying by suicide.2–4 Suicide attempts pose a significant threat to patients’ safety and impose a profound psychological and economic burden on families.

    Assessment scales are among the most effective tools for evaluating the severity of depression in patients. The Hamilton Depression Scale (HAMD-24) is one of the most widely used tools for depression screening. It helps assess the severity of depression and evaluate treatment effects. It also includes items indicative of suicidal ideation, such as feelings of guilt, despair, and hopelessness. Recent studies suggest that these factors are strongly correlated with suicide risk in patients with depression. Despair, in particular, is identified as a significant predictor, reflecting a core feature of depression that contributes to the development of suicidal thoughts. The HAMD-24’s role in early suicide risk assessment is critical, as it can help identify individuals who may benefit from timely intervention.5,6

    Building on recent ambivalence-focused research,7,8 there is growing consensus that suicidal desire fluctuates dynamically. Ecological momentary assessment and digital phenotyping now capture real-time swings between the wish to live and the wish to die. Integrating such ambivalence markers with conventional scales like the HAMD-24 could therefore enhance early detection beyond static symptom snapshots.

    However, emerging research highlights the ambivalent nature of suicidal ideation—where patients simultaneously experience desire for death and connection to life.7 This complexity underscores limitations of static assessments like the HAMD-24. Novel approaches capturing dynamic triggers (eg, real-time affective shifts) may enhance early detection.8 Recent computational psychiatry studies advocate integrating passive digital phenotyping (eg, speech patterns, actigraphy) with clinical scales to detect subtle risk signatures preceding crises.9–12

    In fact, most suicides are preventable, particularly by analyzing the factors strongly associated with suicidal ideation on depression scales like the HAMD-24.13 This analysis is valuable for the early prevention and intervention of suicidal behaviors. Such insights can serve as a theoretical reference for developing new scales focused on depression and suicide risk assessment.14–16

    Machine learning is a subset of artificial intelligence that selects the optimal algorithm from complex datasets, effectively addressing the limitations of traditional statistical methods.17 It can automatically prioritize variables based on relevance, incorporate them into the most efficient model, and identify and manage nonlinear relationships and interactions between variables.18 Walsh et al found that machine learning models predicted suicide risk more accurately than traditional logistic regression analysis methods using databases, with random forest (RF) and support vector machine (SVM) algorithms demonstrating the highest accuracy.19–22

    In recent years, machine learning has been widely applied to population-based suicide predictions, yet critical gaps remain in applying these techniques specifically to clinical depression scales for suicidal ideation prediction. The existing research combining machine learning with depression scales has the following issues:23–25 1. Lack of comparative analysis of diverse algorithms, potentially overlooking optimal model performance; 2. There is limited exploration of the relative importance and interactions of characteristic symptoms in mature clinical assessment scales such as HAMD-24, which hinders clinical interpretability and the identification of core mechanistic pathways; 3. The main focus is on population level risks, lacking granular symptom profiles for validated clinical evaluations and failing to leverage the rich, standardized symptom data inherent in widely used scales like the HAMD-24 for individualized risk prediction within clinical workflows. Subsequently, it employs and rigorously compares four distinct machine learning algorithms selected for their complementary strengths in clinical prediction tasks: an SVM model (effective in high-dimensional spaces and robust to outliers),26 a naive Bayes classification (NBC) model (computationally efficient and well suited for probabilistic inference),27 an RF model (excellent handling of complex interactions and feature importance estimation),28 and an extremely random tree classification (ERTC) model (enhances diversity and robustness through extreme randomization, potentially reducing overfitting).29 The classification and prediction performances of these four models were compared, and the most predictive model was selected to analyze factors associated with suicidal ideation. This dual approach aims to both characterize associated factors and enable early interventions and reduce the occurrence of suicidal behavior while providing transparent insights into key predictive features within the HAMD-24. Prior machine learning studies have relied on heterogeneous data sources (EHRs, social media) rather than standardized clinical scales, limiting bedside utility. Moreover, no study has systematically compared SVM, NBC, RF, and ERTC on HAMD-24 items while excluding the direct suicide item to avoid circularity.

    Based on the previous research results, we have put forward the following hypotheses:

    Hypothesis 1: An ensemble tree model (ERTC) will outperform SVM, NBC, and RF in predicting suicidal ideation (AUC difference ≥ 0.05).



    Hypothesis 2: Among HAMD-24 items (excluding Item 3), despair, guilt, inferiority, work and interests, depressive emotions may be server as the five strongest predictors (top quartile of feature importance).


    Population and Sample

    Inclusion and Exclusion Criteria

    A total of 374 patients diagnosed with depression were involved in this study, who received treatment at the psychological clinic of the Changzhou Second People’s Hospital between March 2022 and October 2023, via consecutive sampling of all eligible out-patients during the study window. A priori power analysis was conducted using G*Power 3.1. Based on an expected medium effect size (Cohen’s f2 = 0.15), α = 0.05, power (1-β) = 0.80, and 23 predictor variables (demographics + HAMD-24 items excluding Item 3), the minimum required sample size was 190. Our final sample (N = 374) exceeds this threshold by >95%, ensuring robust statistical power for both traditional analyses and machine learning modeling. This sample size also adheres to the heuristic of ≥10 events per predictor variable (EPV) for regression-based models (23 predictors × 10 = 230; our suicidal ideation group had 233 cases) and meets computational requirements for complex ensemble algorithms like ERTC.28,29

    The inclusion criteria were as follows: ① Fulfillment of the diagnostic criteria for depression as outlined in the fifth edition of the Diagnostic and Statistical Manual of Mental Disorders (DSM-5), confirmed by two psychiatrists at the attending level or higher;30 ② No gender restrictions, with ages ranging from 18 to 60 years; ③ HAMD-24 scores of ≥8 points; ④ Ability to understand the questionnaire and cooperate with its completion; ⑤ Obtaining informed consent from the patient or their legal guardian. The exclusion criteria were as follows: ① Coexisting schizophrenia, mania, bipolar disorder, or other mental illnesses; ② Other neurological or severe physical conditions; ③ Secondary depression caused by other medical conditions.

    To minimize confounding effects:

    Antidepressant use (type/dose) was recorded and included as a covariate in statistical analyses;

    Demographic variables (age, gender, education) showing group differences (Factors Associated with Suicidal Ideation: DemoFigureic Characteristics) were controlled via multivariate regression;

    Stratified sampling preserved class balance (suicidal ideation yes/no) during data splitting for machine learning.

    Demographic covariates (age, gender, education) and antidepressant status were entered as covariates in the ERTC model to control residual confounding.

    This study received approval from the Medical Ethics Committee of Changzhou Second People’s Hospital (Approval No.: 2020KY04-01). All patients were informed about the research objectives and provided written informed consent. Data anonymization was implemented by assigning unique identifiers, and access was restricted to the research team.

    Data Collection

    Instrumentation

    This study employed a self-designed questionnaire to gather general information, including age, gender, years of education, smoking and drinking history, and antidepressant use. Antidepressant use: Currently prescribed medication for ≥4 weeks at time of assessment. Smoking/drinking history: Regular use (≥3 times/week) for >6 months.

    Scale Evaluation

    The HAMD-24 is a widely used scale for assessing depression clinically, consisting of 24 items and 7 factors (anxiety/somatization, weight, cognitive impairment, day/night changes, delays, sleep disorders, and feelings of despair). The total score indicates the severity of depression, with higher scores indicating more severe depression. This scale demonstrates strong reliability and validity, with coefficients of 0.99 and 0.37, respectively.6 In this study, the scale was used to assess depression severity, with a score of less than 8 points indicating no depressive symptoms, less than 20 points indicating mild symptoms, 20 to 35 points indicating moderate symptoms, and above 35 points indicating severe symptoms. Item 3 of the HAMD-24 assesses suicide risk, and to avoid interference with this item, previous studies have typically excluded it when investigating the correlation between suicide risk and depressive symptom severity.31 Therefore, this study excluded item 3 in assessing the correlation between HAMD-24 factors and suicide risk. The BSI-CV consists of 19 items, each scored on a scale of 0 to 2. Items 1 to 5 assess suicidal ideation, while items 6 to 19 evaluate suicidal tendencies. If the answers to items 4 and 5 are “none”, the patient is considered not to have suicidal ideation and does not need to complete the remaining items. If the answers to items 4 or 5 are “weak” or “moderate to strong”, the patient is considered to have suicidal ideation and must complete the remaining items. The total score on the BSI-CV ranges from 0 to 38 points, with higher scores indicating stronger suicidal ideation and a higher suicide risk. This study used only the first 5 items of the BSI-CV to evaluate suicidal ideation. The scale’s Cronbach α coefficient was 0.78.32

    Model Framework

    The machine learning prediction model involved several steps:

    Data preprocessing: Exclusion of HAMD-24 Item 3 (suicide item) to avoid target leakage;

    Train-test split: Random stratified partitioning (80% training, 20% testing) to maintain class distribution;

    Model development: Implementation of SVM, NBC, RF, and ERTC using scikit-learn (v1.2.2);

    Hyperparameter tuning: 5-fold cross-validation on training set with randomized search (100 iterations);

    Model validation: Evaluation on held-out test set;

    Final evaluation: Performance metrics calculation.

    The flowchart of the machine learning prediction model is shown in Figure 1.

    Figure 1 Flow chart of machine learning prediction model.

    Key parameters:

    Cross-validation: 5 folds with stratified sampling; Tree-based models (RF/ERTC): nestimators=200, maxdepth=10 (optimized via cross-validation); SVM: RBF kernel, C=1.0, gamma=“scale”; NBC: Gaussian priors.

    After comprehensive evaluation, the ERTC model demonstrated superior prediction performance.

    Sampling Rationale for Machine Learning: The dataset was randomly split into training (80%, n=299) and testing (20%, n=75) sets using stratified sampling to preserve the distribution of the target variable (suicidal ideation). This partitioning ratio optimizes model training while retaining sufficient independent samples for unbiased validation, aligning with best practices in clinical machine learning.17,19

    Reproducibility: Random seed 42 was fixed throughout all randomized procedures (data splitting, model initialization). Complete code and preprocessing scripts are available from corresponding author upon request.

    Statistical Methods

    Statistical analysis was conducted using the SPSS 25.0 software. Continuous data were assessed for normality using Shapiro–Wilk tests. Non-normally distributed clinical data are expressed as medians (M) with interquartile ranges (P25, P75). Non-parametric rank sum tests (Mann–Whitney U-tests) were applied to two independent samples, and rank sum tests were used for comparisons between groups. Comparisons of count data were conducted using chi-squared (χ2) tests or Fisher’s exact test where cell counts were <5, with results presented as cases (%). A Bonferroni correction was applied for multiple comparisons of HAMD-24 items (adjusted P < 0.0022 (0.05/23 items)). Statistical significance was determined at a threshold of P <0.05. Non-parametric tests were selected because (i) age and HAMD-24 items were non-normally distributed (Shapiro–Wilk p < 0.001) and (ii) ordinal or binary variables precluded parametric alternatives. These tests served only to guide feature inclusion, not to test causal hypotheses.

    Machine learning models were implemented in Python 3.9 using scikit-learn (v1.2.2). All models underwent identical preprocessing and evaluation protocols to ensure fair comparison. The SVM method, designed based on optimization strategies, minimizes influence from outliers and demonstrates strong generalization ability to achieve global optimal solutions.26 NBC is a well-established probabilistic algorithm used for text classification, providing efficient, stable classification, rapid computation, and high accuracy.27 RF is an ensemble learning algorithm based on decision trees, capable of balancing classification errors and maintaining prediction performance, with faster learning and training efficiency.28 ERTC is an ensemble learning technique that constructs multiple decision trees using the Gini index for data splitting and aggregates different results to output classification outcomes.29

    Model performance was assessed using metrics including accuracy, precision, recall, F1-scores, Kappa coefficients, Matthews correlation coefficient (MCC), and area under the curve (AUC) values. The optimal model was selected based on these performance indicators.

    Results

    Factors Associated with Suicidal Ideation: Demographic Characteristics

    To provide clinicians with baseline information on potential confounders, we first conducted exploratory group comparisons; these analyses were not intended to predict suicidal ideation but to inform feature selection for the machine-learning pipeline.

    This study included a total of 374 patients, who were divided into two groups: 141 without suicidal ideation and 233 with suicidal ideation. As demonstrated in Table 1, no statistically significant differences were observed between the two groups in terms of the first/follow-up visit (χ2 = 1.15, P = 0.28), gender (χ2 = 1.98, P = 0.16), educational level (χ2 = 6.27, P = 0.099), smoking history (χ2 = 1.18, P = 0.277), and drinking history (χ2 = 2.66, P = 0.103). However, the median age of those with suicidal ideation was significantly lower than that of those without (Z = −6.62, P < 0.001), and a statistically significant difference was found in the use of antidepressants (χ2 = 4.21, P < 0.05). These variables were subsequently included as covariates in machine learning feature engineering to mitigate confounding.

    Table 1 General Information of Depressed Patients with and without Suicidal Ideation

    Factors Associated with Suicidal Ideation: HAMD-24 Symptom Profiles

    Statistically significant differences (Table 2) were identified for the HAMD-24 total score and 17 sub-domains: depression emotions (Z = −6.28., P < 0.001), guilt (Z = −5.67, P < 0.001), difficulty falling asleep (Z = −3.83, P < 0.001), work and interests (Z = −7.07, P < 0.001), psychomotor retardation (Z = −2.17, P < 0.05), agitation (Z = −2.06, P < 0.05), somatic anxiety (Z = −3.48, P < 0.001), gastrointestinal symptoms (Z = −4.05, P < 0.001), systemic symptoms (Z = −3.82, P < 0.001), hypochondriasis (Z = −2.01, P < 0.05), weight loss (Z = −3.73, P < 0.001), self-awareness (Z = −3.15, P < 0.05), diurnal variation (Z = −3.53, P < 0.001), paranoid symptoms (Z = −5.79, P < 0.001), reduced abilities (Z = −3.49, P < 0.001), despair (Z = −8.01, P < 0.001), and inferiority complex (Z = −6.49, P < 0.001). The remaining 6 sub-domains—lack of deep sleep (Z = −0.38, P = 0.707), early awakening (Z = −1.78, P = 0.075), psychological anxiety (Z = −1.50, P = 0.134), sexual symptoms (Z = −1.47, P = 0.141), personality disintegration or reality disintegration (Z = −1.43, P = 0.152), and compulsive symptoms (Z = −1.53, P = 0.127)—showed no significant differences. The negative z-value indicates that the depression score among individuals without suicidal ideation is lower than among those with suicidal ideation. The total HAMD-24 score (excluding item 3) was significantly higher in the suicidal ideation group (Z = −8.81, P < 0.001).

    Table 2 Comparison of HAMD-24 Total Scores Between Depressed Patients with and without Suicidal Ideation [M (P25, P75)]

    Analysis of Machine Learning Results

    Accuracy refers to the proportion of correctly classified samples in relation to the total number of samples in a given class. The AUC is an evaluation metric that assesses the quality of a binary classification model, indicating the probability that the predicted value of a positive example exceeds that of a negative example. The recall rate, (true examples (TP)/(TP + false negative examples (FN))), represents the ratio of correctly predicted positive samples to the total number of actual positive samples.

    Precision, (TP/(TP + false positive examples (FP)), represents the ratio of correctly predicted positive samples to the total number of predicted positive samples. The F1 score is defined as F1 = 2/(1/recall + 1/precision).

    The Kappa coefficient is a consistency measure used to assess the effectiveness of classifications, specifically to determine whether the model’s predicted results align with the actual classification outcomes. A value greater than 0.5 indicates strong classification performance.

    The MCC coefficient is used to evaluate the performance of binary classification models, especially when dealing with imbalanced datasets. It incorporates TP, TN, FP, and FN, offering a single value that summarizes classification quality, with values greater than 0.5 indicating strong classification performance.

    As demonstrated in Table 3, the performance evaluation of the four machine learning models revealed that the ERTC model achieved excellent classification performance, with a prediction accuracy of 77.75% on the independent test set. Additional indicators demonstrated that this model exhibited strong classification performance in analyzing suicidal ideation.

    Table 3 Prediction Results of Four Machine Learning Algorithm Models

    The area under the receiver operating characteristic (ROC) curve, known as the AUC, serves as an indicator for evaluating classifier performance. A larger AUC reflects a better classifier performance. An AUC greater than 0.9 is considered very good, 0.8 to 0.9 is good, 0.7 to 0.79 is median, and less than 0.7 is poor. The closer the ROC curve is to the upper left corner, the better the classification performance of the algorithm. Based on the ROC curves and AUC values shown in Figure 2, the ERTC model demonstrated high classification performance in predicting suicidal ideation.

    Figure 2 ROC Curves for ExtraTreesClassifier.

    Based on the confusion matrix presented in Figure 3, the ERTC model demonstrated good classification accuracy, achieving a correct classification rate of 77%.

    Figure 3 ExtraTreesClassifier Confusion Matrix.

    Notably, this represents the first machine learning study to identify symptom-level predictors of suicidal ideation exclusively from HAMD-24 items (excluding Item 3) with clinically actionable accuracy (AUC=0.80). The ERTC model’s superior performance—outperforming established algorithms like SVM and RF—validates its utility for precision psychiatry applications.

    The feature analysis of the ERTC model, demonstrated in Figure 4, identified the most important features as feelings of despair, guilt, inferiority, work and interest, and depression.

    Figure 4 Feature Importance Plot.

    Discussion

    Unlike prior studies that combined heterogeneous clinical notes or social-media data,19,25 our study uniquely isolates symptom-level predictors within a single, widely adopted scale (HAMD-24) and demonstrates that ensemble tree methods outperform SVM and RF under these constraints.

    This study pioneers the integration of machine learning with granular HAMD-24 symptom profiling to predict suicidal ideation in depression, addressing a critical gap in translating population-level suicide risk models into clinically actionable tools. While numerous studies have confirmed associations between depression severity and suicidality,4,33,34 and others have applied machine learning to suicide prediction using diverse data sources (eg, electronic health records, social media, multi-omics data),16,17,19,25 our work specifically addresses the under-explored potential of leveraging “routine clinical scale data (HAMD-24)” for early suicide ideation detection within a standardized diagnostic framework.

    Hypothesis 1: Model Performance

    Our work bridges this gap through three key advances: First, by employing an ensemble-based Extremely Randomized Trees Classifier (ERTC), we not only confirmed known associations but also quantified the hierarchical symptom contributions (despair > guilt > inferiority > work/interest > depression) to suicidal ideation with unprecedented precision, providing symptom-level weights rarely captured in traditional analyses or population-level machine learning models. Second, we achieved clinically statistically significant prediction accuracy (AUC=0.80) using only routine HAMD-24 items—excluding the direct suicide query (Item 3) to avoid tautology—thereby demonstrating the scale’s latent capacity for risk stratification beyond its original design and distinct from studies relying on explicit suicide items or non-scale data. This approach mitigates response bias inherent in direct suicide questioning. Third, we demonstrated ERTC’s superior robustness over established algorithms (SVM, RF) in handling psychiatric symptom data,16,21 attributable to its extreme random subspace sampling and node splitting, which mitigates overfitting and captures complex feature interactions inherent in depression psychopathology. This finding contrasts with studies where SVM or RF often performed best,25,27 suggesting ERTC’s particular suitability for modeling complex symptom interactions within constrained scale data. This methodological synergy not only advances mechanistic understanding of suicide risk but delivers a scalable framework for real-world clinical decision support rooted in existing assessment practices.

    Demographic patterns reinforced known epidemiological trends while underscoring clinical nuances. The heightened vulnerability of younger patients aligns with developmental psychopathology models positing that impulsivity, identity instability, and maladaptive coping peak in early adulthood, amplifying suicide risk when comorbid with depression.35 The significant reduction in suicidal ideation among antidepressant users highlighted treatment’s protective role, potentially mediated by neurotransmitter modulation (eg, enhanced serotonin signaling reducing impulsivity) or psychological mechanisms (eg, restored agency).36 This reinforces guidelines advocating prompt pharmacotherapy initiation in moderate-to-severe depression. Furthermore, a higher total HAMD-24 score (excluding item 3) was strongly associated with an increased likelihood of suicidal ideation, corroborating previous research linking the severity of depressive symptoms to suicide risk.33

    Hypothesis 2: Key Symptom Predictors

    Consistent with Beck’s hopelessness theory, despair—conceptualised as negative future expectancy—was the single strongest predictor in our model (feature importance = 0.27), corroborating meta-analytic evidence that hopelessness accounts for 76% of the explained variance in suicidal ideation.34,37 Theoretical frameworks position despair: conceptualized as a future-oriented cognitive schema characterized by negative expectations (“nothing will improve”) and perceived inescapability (“no way out”)37—as an essential proximal cause of suicidal thoughts.38–41 Notably, contemporary models integrate ambivalence—recognizing suicidal urgency often coexists with “countervailing motivations” (eg, fear of death, responsibility to family). This may explain why despair alone is insufficient to predict attempts; our model could be augmented by ambivalence metrics. Neurocognitively, this may reflect dysfunction in prefrontal cortical circuits responsible for future prospection and problem-solving, trapping individuals in a cycle of hopelessness. Our findings solidify despair’s critical role within the HAMD-24 framework, while also underscoring the clinical necessity of addressing closely ranked co-factors (guilt, inferiority), given the marginal quantitative difference in their importance scores. Mechanistically, despair may propagate suicidal ideation through two synergistic pathways: 1. Direct pathway: By inducing cognitive constriction—a narrowing of perceived options—where suicide is misappraised as the sole viable solution to unbearable psychological pain;38,42 2. Indirect pathway: By eroding psychological resilience—the capacity to adaptively cope with adversity—through diminished self-efficacy, impaired access to positive memories, and reduced motivation to seek support, thereby disabling protective mechanisms.43–45 This dual-pathway model underscores despair’s pernicious role in both motivating suicidal escape and disabling natural buffers against it.

    The secondary prominence of guilt and inferiority complex the interpersonal dimension of suicide risk. Guilt—operationalized as “burdening guilt” involving irrational self-condemnation and perceived liability to others46 and inferiority—rooted in chronic low self-worth and social comparison.47 Align precisely with Joiner’s Interpersonal Theory of Suicide (IPTS).40 IPTS posits that suicidal desire emerges from co-occurring “thwarted belongingness” (social alienation) and “perceived burdensomeness” (self-hate as a liability). Our findings validate this model within the HAMD-24 architecture: guilt embodies burdensomeness (“I am a drain on my family”), while inferiority fuels belongingness deficits (“I am unworthy of connection”). These factors likely contribute to suicidal ideation by fostering cognitive distortions, social isolation, and reinforcing feelings of hopelessness and worthlessness.39,48 Notably, guilt’s strong predictive power persists despite potential scale-limited assessment in HAMD-24 versus BDI, where it exhibits denser symptom-network connectivity.49 This suggests that guilt’s clinical relevance may be underestimated in HAMD-centric evaluations, warranting supplemental assessment when risk is elevated.

    Work and interests loss and depressive emotions, though lower-ranked, reveal cyclical psychobehavioral mechanisms. Anhedonia-driven social withdrawal initiates a self-perpetuating cascade:49,50 Isolation → eroded social support → exacerbated despair guilt → deeper depression → reinforced withdrawal. This “depression-withdrawal feedback loop” is neurobiologically scaffolded by reward system dysfunction (eg, ventral striatal hypoactivity), diminishing motivation for social engagement.51 Critically, withdrawal’s predictive value extends beyond functional impairment; it signifies disengagement from protective social anchors, depriving patients of reality testing, emotional scaffolding, and reasons for living.52,53 Meanwhile, pervasive depressive mood—while a foundational symptom—may operate partly via its amplification effect on despair and guilt, illustrating how core affective and cognitive symptoms interact multiplicatively to elevate risk.54

    Clinical and Research Implications

    Our ERTC model converts the standard administration process of the HAMD-24 scale into a dynamic risk-stratification tool. Clinicians can prioritize symptom remediation hierarchically (eg, targeting despair via cognitive restructuring before inferiority via social skills training). The quantified feature weights further guide scale refinement: Future depression-suicide risk instruments could amplify item weighting for despair/guilt or add nuanced guilt descriptors (eg, “feelings of being an unforgivable burden”). Methodologically, ERTC’s success advocates for algorithmic pluralism in psychiatric machine learning—avoiding overreliance on single models (eg, SVM-dominated literature) and leveraging ensemble methods for complex symptom interactions. In clinical work. In clinical practice applications, for early detection, we recommend complementing scale-based screening with: 1. Ecological Momentary Assessment (EMA) to capture real-time symptom fluctuations linked to triggers;55,56 2. Natural language processing of clinical notes to identify linguistic markers of ambivalence (eg, coexisting hopelessness and future planning);9,10 3.Actigraphy monitoring to detect behavioral correlates (eg, social withdrawal spikes).57,58

    Limitations and Future Directions

    While impactful, our study has constraints: Single-center sampling limits generalizability; antidepressant type/dose was recorded but not standardized across participants, potentially confounding medication effects; the sample size, though sufficient for model development, warrants validation in larger cohorts; modest specificity risks false positives, necessitating secondary screening; and exclusive reliance on HAMD-24 omits biomarkers (eg, inflammatory markers, fMRI connectivity). Future work should: 1. Validate the model in multicentric, culturally diverse cohorts; 2. Incorporate ambivalence measures (eg, Death/Suicide Implicit Association Test) and multimodal digital phenotyping 3. Track temporal symptom dynamics to capture risk flux; 4. Improve specificity via hybrid models (eg, ERTC + neural networks).

    Conclusion

    Based on machine learning analysis of HAMD-24 data from 374 depressed patients, this study demonstrates that: 1. The ERTC model outperformed SVM, NBC, and RF in predicting suicidal ideation (accuracy: 77.75%, AUC: 0.80). Its superior robustness arose from enhanced randomization during tree construction, mitigating overfitting and improving generalization for capturing the complex interactions among HAMD-24 symptoms. This finding highlights ERTC as a particularly suitable algorithm for modeling complex symptom interactions within clinical scale data, contrasting with some prior studies favoring SVM or RF for similar tasks.13,15 2. Critical predictors of suicidal ideation within the HAMD-24 (excluding Item 3) included feelings of despair, guilt, inferiority, loss of work/interest, and overall depressive mood. This granular identification and ranking of specific depressive symptoms as primary drivers of suicide ideation, validated by machine learning, provides a more nuanced understanding than simply associating overall depression severity (HAMD total score) with risk.29,30 While despair ranked highest in feature importance, its quantitative lead over guilt and inferiority was marginal, suggesting these core symptoms collectively drive risk within the scale framework. 3. The quantification of the relative importance of specific HAMD-24 symptoms offers a novel, data-driven theoretical foundation for refining existing depression-suicide risk assessment scales or developing new, more targeted ones, moving beyond simply confirming associations to informing how specific symptoms contribute mechanistically to suicide ideation within the depression construct. Clinicians should prioritise cognitive-restructuring interventions targeting despair, guilt and inferiority; risk-stratify patients using an 80% probability cut-off from the ERTC model; and consider supplementing HAMD-24 screening with momentary ambivalence assessments for high-risk individuals.

    Data Sharing Statement

    The de-identified datasets (demographics, HAMD-24 item scores excluding Item 3, BSI-CV group labels) and Python code used for preprocessing, model training, and evaluation are available from the corresponding author on reasonable request under a data sharing agreement that ensures participant confidentiality and compliance with ethical guidelines.

    Ethics Approval and Consent to Participate

    This study was conducted in accordance with the declaration of Helsinki. This study was conducted with approval from the Ethics Committee of Nanjing Medical University Affiliated Changzhou Second People’s Hospital. A written informed consent was obtained from all participants.

    Author Contributions

    Conception and design of the research: Yun Chen; Guan-Zhong Dong; Acquisition of data: Yun Chen; Guan-Zhong Dong; Wei-Yuan Zhang; Ke Wang; Analysis and interpretation of the data: Zhong-Yi Jiang, Ke Wang; Statistical analysis: Zhong-Yi Jiang, Wei-Yuan Zhang; Obtaining financing: Hai-Yan Yang; Ke Wang; Writing of the manuscript: Yun Chen; Critical revision of the manuscript for intellectual content: Hai-Yan Yang. All authors made a significant contribution to the work reported, whether that is in the conception, study design, execution, acquisition of data, analysis and interpretation, or in all these areas; took part in drafting, revising or critically reviewing the article; gave final approval of the version to be published; have agreed on the journal to which the article has been submitted; and agree to be accountable for all aspects of the work.

    Disclosure

    None of the authors have any financial disclosure or conflicts of interest to report for this work.

    References

    1. Wang G, Feng Y, Liu J, et al. Chinese guidelines for the prevention and treatment of depression (2024 Edition) proposal. Chin Psychiatry Miscellaneous Zhi. 2023;56(6):407–412. doi:10.3760/cma.j.cn113661-20230919-00076

    2. Huang Y, Wang YU, Wang H, et al. Prevalence of mental disorders in China: a cross-sectional epidemiological study. Lancet Psychiatry. 2019;6(3):211–224.

    3. Dong M, Wang SB, Li Y, et al. Prevalence of suicidal behaviors in patients with major Depressive disorder in China: a comprehensive meta-analysis. J Affect Disord. 2018;225:32–39.

    4. Orsolini L, Latini R, Pompili M, et al. Understanding the complex of suicide in depression: from research to clinics. Psychiatry Invest. 2020;17(3):207–221.

    5. Fava GA, Kellner R, Munari F, Pavan L. The Hamilton depression rating scale in normals and depressives. Acta Psychiatr Scand. 1982;66(1):26–32. PMID: 7124430. doi:10.1111/j.1600-0447.1982.tb00911.x

    6. Zhang M. Handbook of Psychiatric Assessment Scales. 2nd ed. Changsha: Hunan Science and Technology Press; 1998:121–126.

    7. Teismann T, Siebert AM, Forkmann T. Suicidal ambivalence: a scoping review. Suicide Life Threat Behav. 2024;54(5):802–813. PMID: 38709556. doi:10.1111/sltb.13092

    8. Ernst M, Gemke TJ, Olivi LJ, O’Connor RC. Ambulatory assessment of suicidal ambivalence: the temporal variability of the wish to live and the wish to die and their relevance in the concurrent and prospective prediction of suicidal desire. Suicide Life Threat Behav. 2024;54(5):831–843. PMID: 39096098. doi:10.1111/sltb.13120

    9. Hogoboom A, Rouch M, Lauerman D, Pauselli L, Compton MT. Initial evidence of vowel space reduction in a subset of individuals with schizophrenia. Schizophr Res. 2023;255:158–164. PMID: 36989674; PMCID: PMC11371129. doi:10.1016/j.schres.2023.03.026

    10. Lucarini V, Cangemi F, Daniel BD, et al. Conversational metrics, psychopathological dimensions and self-disturbances in patients with schizophrenia. Eur Arch Psychiatry Clin Neurosci. 2022;272(6):997–1005. PMID: 34476588. doi:10.1007/s00406-021-01329-w

    11. Spulber S, Elberling F, Svensson J, Tiger M, Ceccatelli S, Lundberg J. Patterns of activity correlate with symptom severity in major depressive disorder patients. Transl Psychiatry. 2022;12(1):226. PMID: 35654778; PMCID: PMC9163191. doi:10.1038/s41398-022-01989-9

    12. Petrosellini C, Eriksson SH, Meyer N, et al. Sleep disturbance as a marker of postpartum psychosis risk: a prospective actigraphy study. BMC Psychiatry. 2025;25(1):569. PMID: 40457330; PMCID: PMC12131421. doi:10.1186/s12888-025-07017-6

    13. Lu J, Li L, Xu X. Interpretation of the Chinese guidelines for the prevention and treatment of depression (Second Edition): evaluation and diagnosis. Chin Psychiatry J. 2017;50(3):169–171.

    14. Maatoug R, Gorwood P. The psychometrics of the hospital anxiety and depression scale supports a shorter −12 item- version. Psychiatry Res. 2019;274:372–376. PMID: 30852430. doi:10.1016/j.psychres.2019.02.074

    15. Kim HJ, Kim S, Son Y, Youn I, Lee K. Reliability and validity of the Korean Version of the Ask Suicide-Screening Questions (ASQ). J Korean Med Sci. 2023;38(6):e41. PMID: 36786085; PMCID: PMC9925327. doi:10.3346/jkms.2023.38.e41

    16. Yook V, Choi YH, Gu MJ, et al. Suicide Screening Questionnaire-Self-Rating (SSQ-SR): development, reliability, and validity in a clinical sample of Korean adults. Compr Psychiatry. 2023;121:152360. PMID: 36508776. doi:10.1016/j.comppsych.2022.152360

    17. Linthicum KP, Schafer KM, Ribeiro JD. Machine learning in suicide science: applications and ethics. Behav Sci Law. 2019;37(3):214–222.

    18. Li R. Data mining and machine learning methods for dementia re- search. Methods Mol Biol. 2018;1750:363–370.

    19. Walsh CG, Ribeiro JD, Franklin JC. Predicting risk of suicide attempts over time through machine learning. Clin Psychol Sci. 2017;5(3):1032627260.

    20. Miché M, Studerus E, Meyer AH, et al. Prospective prediction of suicide attempts in community adolescents and young adults, using regression methods and machine learning. J Affect Disord. 2020;265:570–578. PMID: 31786028. doi:10.1016/j.jad.2019.11.093

    21. Ryu S, Lee H, Lee DK, Kim SW, Kim CE. Detection of suicide attempters among suicide ideators using machine learning. Psychiatry Invest. 2019;16(8):588–593. PMID: 31446686; PMCID: PMC6710424. doi:10.30773/pi.2019.06.19

    22. Bhak Y, Jeong HO, Cho YS, et al. Depression and suicide risk prediction models using blood-derived multi-omics data. Transl Psychiatry. 2019;9(1):262. PMID: 31624227; PMCID: PMC6797735. doi:10.1038/s41398-019-0595-2

    23. Yang L, Zhang Q, Bai S, et al. Using machine learning algorithms to predict the risk of suicide attempts among college students. Clin Psychol China J. 2023;31(3):525–529634. doi:10.16128/j.cnki.1005-3611.2023.03.005

    24. Dong J, Wei W, Wu K, et al. The application of machine learning in the field of depression. Prog Psychol Sci. 2020;28(2):266–274. doi:10.3724/SP.J.1042.2020.00266

    25. Qu J, Wu Y, Liu J, et al. Computational psychiatry: a new perspective on depression research and clinical application. Psychol Sci Prog. 2020;28(1):111–127. doi:10.3724/SP.J.1042.2020.00111

    26. Lee YW, Choi JW, Shin EH. Machine learning model for predicting malaria using clinical information. Comput Biol Med. 2021;129:104151. PMID: 33290932. doi:10.1016/j.compbiomed.2020.104151

    27. Karaismailoglu E, Karaismailoglu S. Two novel nomograms for predicting the risk of hospitalization or mortality due to COVID-19 by the naïve Bayesian classifier method. J Med Virol. 2021;93(5):3194–3201. PMID: 33599308; PMCID: PMC8013381. doi:10.1002/jmv.26890

    28. Wallace ML, Mentch L, Wheeler BJ, et al. Use and misuse of random forest variable importance metrics in medicine: demonstrations through incident stroke prediction. BMC Med Res Methodol. 2023;23(1):144. PMID: 37337173; PMCID: PMC10280951. doi:10.1186/s12874-023-01965-x

    29. Geng D, An Q, Fu Z, Wang C, An H. Identification of major depression patients using machine learning models based on heart rate variability during sleep stages for pre-hospital screening. Comput Biol Med. 2023;162:107060. PMID: 37290394; PMCID: PMC10229199. doi:10.1016/j.compbiomed.2023.107060

    30. American Psychiatric Association. Diagnostic and Statistical Manual of Mental Disorders. 5th ed. Beijing: Peking University Press; 2015.

    31. Lin JY, Huang Y, Su YA, et al. Association between perceived stressfulness of stressful life events and the suicidal risk in Chinese patients with major depressive disorder. Chin Med J. 2018;131(8):912–919. PMID: 29664050; PMCID: PMC5912056. doi:10.4103/0366-6999.229898

    32. Li X, Fei L, Zhang Y, et al. The reliability and validity of the Chinese version of the Beck Suicide Intention Scale in college students. Chin psychol J Health. 2011;25(11):862–866. doi:10.3969/j.issn.1000-6729.2011.11.013

    33. Li H, Luo X, Ke X, et al. Major depressive disorder and suicide risk among adult outpatients at several general hospitals in a Chinese Han population. PLoS One. 2017;12(10):e0186143. PMID: 29016669; PMCID: PMC5634639. doi:10.1371/journal.pone.0186143

    34. Ribeiro JD, Huang X, Fox KR, Franklin JC. Depression and hopelessness as risk factors for suicide ideation, attempts and death: meta-analysis of longitudinal studies. Br J Psychiatry. 2018;212(5):279–286. PMID: 29587888. doi:10.1192/bjp.2018.27

    35. Buerke M, Galfalvy H, Keilp JG, et al. Age effects on clinical and neurocognitive risk factors for suicide attempt in depression – findings from the AFSP lifespan study. Affect Disord. 2021;295:123–130. PMID: 34425314; PMCID: PMC8551053. doi:10.1016/j.jad.2021.08.014

    36. Simon GE, Moise N, Mohr DC. Management of depression in adults: a review. JAMA. 2024;332(2):141–152. Erratum in: JAMA. 2024;332(15):1306. doi: 10.1001/jama.2024.18427. PMID: 38856993. doi:10.1001/jama.2024.5756

    37. Beck AT, Steer RA, Kovacs M, Garrison B. Hopelessness and eventual suicide: a 10-year prospective study of patients hospitalized with suicidal ideation. Am J Psychiatry. 1985;142(5):559–563. PMID: 3985195. doi:10.1176/ajp.142.5.559

    38. Beck AT, Kovacs M, Weissman A. Hopelessness and suicidal behavior: an overview. JAMA. 1975;234:1146–1149.

    39. Joiner T. Why People Die by Suicide. Harvard University Press; 2005.

    40. Van Orden KA, Witte TK, Cukrowicz KC, Braithwaite SR, Selby EA, Joiner TE. The interpersonal theory of suicide. Psychol Rev. 2010;117(2):575–600. PMID: 20438238; PMCID: PMC3130348. doi:10.1037/a0018697

    41. Abramson LY, Alloy LB, Hogan ME, et al. The hopelessness theory of suicidality. In: Joiner T, Rudd MD, editors. Suicide Science. Springer US; 2000:17–32.

    42. Wenzel A, Beck AT. A cognitive model of suicidal behavior: theory and treatment. Appl Prev Psychol. 2008;12:189–201.

    43. Li Y. A study on the relationship between despair, psychological resilience, and suicidal ideation among college students. Chongqing Med J. 2014;2014(5):524–526.

    44. Fedina L, Nam B, Jun HJ, et al. Moderating effects of resilience on depression, psychological distress, and suicidal ideation associated with interpersonal violence. J Interpers Violence. 2021;36(3–4):NP1335–1358NP. PMID: 29295024. doi:10.1177/0886260517746183

    45. Okechukwu FO, Ogba KTU, Nwufo JI, et al. Academic stress and suicidal ideation: moderating roles of coping style and resilience. BMC Psychiatry. 2022;22(1):546. PMID: 35962365; PMCID: PMC9373522. doi:10.1186/s12888-022-04063-2

    46. Leonardi J, Gazzillo F, Gorman B, Bush M. Assessing Burdening Guilt and Its Correlates. Psychodyn Psychiatry. 2023;51(4):479–499. PMID: 38047672. doi:10.1521/pdps.2023.51.4.479

    47. Castro NB, Lopes MVO, Monteiro ARM. Low chronic self-esteem and low situational self-esteem: a literature review. Rev Bras Enferm. 2020;73(1):e20180004. English, Portuguese. PMID: 32049223. doi:10.1590/0034-7167-2018-0004

    48. Jia H, Min Z, Yiyun C, et al. Association between social withdrawal and suicidal ideation in patients with major depressive disorder: the mediational role of emotional symptoms. J Affect Disord. 2024;347:69–76. PMID: 37992770. doi:10.1016/j.jad.2023.11.051

    49. Feiten JG, Mosqueiro BP, Uequed M, Passos IC, Fleck MP, Caldieraro MA. Evaluation of major depression symptom networks using clinician-rated and patient-rated data. J Affect Disord. 2021;292:583–591. PMID: 34147971. doi:10.1016/j.jad.2021.05.102

    50. Kato TA, Kanba S, Teo AR. Defining pathological social withdrawal: proposed diagnostic criteria for hikikomori. World Psychiatry. 2020;19(1):116–117. PMID: 31922682; PMCID: PMC6953582. doi:10.1002/wps.20705

    51. Porcelli S, Van Der Wee N, van der Werff S, et al. Social brain, social dysfunction and social withdrawal. Neurosci Biobehav Rev. 2019;97:10–33. PMID: 30244163. doi:10.1016/j.neubiorev.2018.09.012

    52. Evans GW, Rhee E, Forbes C, Mata allen K, Lepore SJ. The meaning and efficacy of social withdrawal as a strategy for coping with chronic residential crowding. J Environ Psychol. 2000;20:335–342.

    53. Zhu S, Lee PH, Wong PWC. Investigating prolonged social withdrawal behaviour as a risk factor for self-harm and suicidal behaviours. BJPsych Open. 2021;7(3):e90. PMID: 33926603; PMCID: PMC8142544. doi:10.1192/bjo.2021.47

    54. Iweama CN, Agbaje OS, Lerum NI, Igbokwe CC, Ozoemena LE. Suicidal ideation and attempts among Nigerian undergraduates: exploring the relationships with depression, hopelessness, perceived burdensomeness, and thwarted belongingness. SAGE Open Med. 2024;12:20503121241236137. PMID: 38533197; PMCID: PMC10964440. doi:10.1177/20503121241236137

    55. Winstone L, Heron J, John A, et al. Ecological momentary assessment of self-harm thoughts and behaviors: systematic review of constructs from the integrated motivational-volitional model. JMIR Ment Health. 2024;11:e63132. PMID: 39652869; PMCID: PMC11667137. doi:10.2196/63132

    56. Wenzel J, Dreschke N, Hanssen E, et al. Ecological momentary assessment (EMA) combined with unsupervised machine learning shows sensitivity to identify individuals in potential need for psychiatric assessment. Eur Arch Psychiatry Clin Neurosci. 2024;274(7):1639–1649. Erratum in: Eur Arch Psychiatry Clin Neurosci. 2025;275(3):959–962. doi: 10.1007/s00406-024-01939-0. PMID: 37715784; PMCID: PMC11422424. doi:10.1007/s00406-023-01668-w

    57. Lebowitz ER, François B. Using motion tracking to measure avoidance in children and adults: psychometric properties, associations with clinical characteristics, and treatment-related change. Behav Ther. 2018;49(6):853–865. PMID: 30316485; PMCID: PMC6394864. doi:10.1016/j.beth.2018.04.005

    58. Kagawa F, Yokoyama S, Takamura M, et al. Decreased physical activity with subjective pleasure is associated with avoidance behaviors. Sci Rep. 2022;12(1):2832. PMID: 35181696; PMCID: PMC8857298. doi:10.1038/s41598-022-06563-3

    Continue Reading

  • Pegula snaps Sabalenka’s Wuhan winning streak to reach final

    Pegula snaps Sabalenka’s Wuhan winning streak to reach final

    Aryna Sabalenka’s Wuhan winning streak. Jessica Pegula’s three-set mastery. Something had to give in the second semifinal of the Dongfeng · Voyah Wuhan Open on Saturday — and after 2 hours and 19 minutes, the American’s…

    Continue Reading