Accepted for/Published in: JMIR Pediatrics and Parenting
Date Submitted: Mar 15, 2026
Date Accepted: Sep 14, 2026
Development and Internal Validation of an Interpretable Machine Learning Model for Identifying Past-Year Non-Suicidal Self-Injury Among Adolescents With Depression: A Biopsychosocial Approach
ABSTRACT
Background:
Non-suicidal self-injury (NSSI) is common among adolescents with depression. Early identification of high-risk individuals is essential but challenging.
Objective:
This study aims to develop a predictive model to estimate the risk of NSSI in depressed adolescents using the biopsychosocial approach.
Methods:
This cross-sectional study included 437 adolescents aged 10–19 years with depression from four hospitals in Zhejiang, China (2021–2023). Sixty-eight variables covering sociodemographic, physiological-biochemical, and high-risk behavioral factors were collected. Data were split into validation (70%) and test (30%) sets. Seven machine learning models, including random forest and support vector machine learning models, were applied to identify the best model for predicting the risk of NSSI. We developed a personalized, interpretable risk prediction platform using SHapley Additive exPlanations (SHAP).
Results:
The random forest model achieved the best performance, with an accuracy of 81.2%, recall of 84.3%, F1-score of 81.9%, precision of 79.6%, and AUC of 0.872 on the test set. Key predictors included suicidal ideation, high-sensitivity C-reactive protein (hs-CRP), creatine kinase, sex, and age. The SHAP analysis provided insights into feature contributions.
Conclusions:
This study developed a predictive model to estimate the risk of NSSI in depressed adolescents using the biopsychosocial approach, offering a valuable tool for early risk identification and personalized intervention.
Citation
Request queued. Please wait while the file is being generated. It may take some time.
Copyright
© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.