Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Pediatrics and Parenting

Date Submitted: Mar 15, 2026
Date Accepted: Sep 14, 2026

The final, peer-reviewed published version of this preprint can be found here:

Development and Internal Validation of an Interpretable Machine Learning Model for Identifying Past-Year Nonsuicidal Self-Injury Among Adolescents With Depression: Retrospective Study

Liu G, Yang C, Chen W, Ding N, Tian W, Ye X, Luo M, Mao X, Zhang G, Zheng K

Development and Internal Validation of an Interpretable Machine Learning Model for Identifying Past-Year Nonsuicidal Self-Injury Among Adolescents With Depression: Retrospective Study

JMIR Pediatr Parent 2026;9:e95340

DOI: 10.2196/95340

PMID: 42849897

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

  • Gaoyang Liu; 
  • Chenxi Yang; 
  • Wendan Chen; 
  • Ningning Ding; 
  • Wenwen Tian; 
  • Xinwu Ye; 
  • Mengdan Luo; 
  • Xinnan Mao; 
  • Guohua Zhang; 
  • Ke Zheng

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

Please cite as:

Liu G, Yang C, Chen W, Ding N, Tian W, Ye X, Luo M, Mao X, Zhang G, Zheng K

Development and Internal Validation of an Interpretable Machine Learning Model for Identifying Past-Year Nonsuicidal Self-Injury Among Adolescents With Depression: Retrospective Study

JMIR Pediatr Parent 2026;9:e95340

DOI: 10.2196/95340

PMID: 42849897

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© 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.