Related Experiment Video
Updated: May 9, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Developing SHAP interpretable machine learning models for assessing biopsychosocial risk in female drug users: a
Xiao Wang1, Mingjian Gao2, Jialin Gao3
1School of Psychology, Nanjing Normal University, Nanjing, China.
Background:
While interventions for female drug users have received considerable attention, comprehensive and objective risk assessment tools-particularly those integrating biopsychosocial dimensions-remain lacking, despite their critical public health need.
Objective:
This study aimed to develop a comprehensive assessment model for evaluating the physiological, psychological, and social risks among female drug users. Methods: Based on the biopsychosocial model, variables of the five dimensions of physiological function, psychological and cognitive function, drug dependence, social support, and self-control were collected from 96 participants. Professionals rated these participants on the five dimensions and the total risk. These ratings and variables served as inputs and outputs for our classification model. We oversampled the data and evaluated the classification of 6 classifiers.
Results:
Firstly, the machine learning classification results for the 5-dimensional risk and total risk performed relatively well. Next, oversampling improved the classification performance for most dimensions (except social support risk) and the total risk assessment. After oversampling, the true strengths of different algorithms became more apparent, with Random Forest and Logistic regression emerging as the optimal classifier for multiple dimensions. Thirdly, by applying SHAP, a novel interpretability method, we identified key variables in each dimension and for the total risk, thereby enhancing the transparency of the model's decisions.
Conclusion:
The machine learning model, encompassing physiological, psychological, cognitive, drug refusal, social support, and self-control dimensions, modestly but effectively identified at-risk populations of female drug users. It should be noted that the current study is limited by the sample size of 96 participants; to address this, we plan to expand the sample in future research to overcome this constraint and reduce potential model overfitting. The developed model holds promise for researchers seeking to pinpoint at-risk female drug abusers, facilitating targeted interventions and corrections.
Related Concept Videos
Types of Biopharmaceutical Studies: Controlled and Non-Controlled Approaches
Non-controlled studies, commonly employed for initial exploration, lack a control group, rendering them susceptible to biases and external influences. In contrast, controlled...
Bioavailability Study Design: Healthy Subjects Versus Patients
Mechanistic Models: Compartment Models in Individual and Population Analysis
Analysis of Population Pharmacokinetic Data