Machine learning based multimodel prediction of poor wellbeing, generalized anxiety disorder, and insomnia among adults in Indian urban informal settlements: toward explainable digital mental health screening.
Rupeshkumar Deshmukh, Sudhanshu Mahajan, Reva Wani
Department of Community Medicine, Bharati Vidyapeeth (Deemed to be University) Medical College, Pune, India. · Medical Intern, Bharati Vidyapeeth (Deemed to be University) Medical College, Pune, India.
Key points
From the paper's conclusion- Methods We analyzed cross-sectional data from 1,600 adults recruited from 16 clusters within the urban informal settlement field practice area of a medical college's Urban Health Training Centre in Pune, India, to develop and compare ten supervised machine learning algorithms predicting poor wellbeing (WHO-5), moderate-to-severe generalized anxiety disorder (GAD-7), and moderate-to-severe insomnia
Abstract
INTRODUCTION: Mental health morbidity among urban informal settlements-dwelling populations is shaped by a complex interplay of behavioural exposures including screen time, working hours, and sleep duration and sociodemographic vulnerability. METHODS: We analyzed cross-sectional data from 1,600 adults recruited from 16 clusters within the urban informal settlement field practice area of a medical college's Urban Health Training Centre in Pune, India, to develop and compare ten supervised machine learning algorithms predicting poor wellbeing (WHO-5), moderate-to-severe generalized anxiety disorder (GAD-7), and moderate-to-severe insomnia (ISI); internal consistency of all three instruments was confirmed from item-level responses. Because participants were nested within 16 clusters, our primary analysis used leave-one-cluster-out (LOCO) cross-validation, in which each cluster was held out in turn as an independent test set; a conventional participant-level 80/20 split with 10-fold cross-validation was retained as a secondary analysis. Model discrimination, calibration, and clinical utility were assessed using AUC, sensitivity, specificity, predictive values, Brier score, decision curve analysis, and DeLong's test, each with cluster-level bootstrap 95% confidence intervals. SHAP was used to interpret the best-performing model, and feature-attribution concordance was additionally assessed across the Rashomon set of near-equivalent top models. RESULTS: The WHO-5, GAD-7, and ISI showed acceptable-to-excellent internal consistency in this sample (Cronbach's alpha 0.730-0.938; McDonald's omega 0.815-0.953). LightGBM achieved the highest primary (LOCO-CV) AUC for all three outcomes: 0.977 (95% CI 0.970-0.983) for poor wellbeing, 0.987 (95% CI 0.984-0.992) for GAD, and 0.988 (95% CI 0.982-0.993) for insomnia. Several sociodemographic predictors showed unusually strong univariate associations with the outcomes, traced to a repeating between-cluster pattern in the sampling frame; this structure means that even cluster-aware validation may remain optimistic relative to a genuinely external population, a limitation we discuss in detail. SHAP-based rankings were highly concordant (Spearman ρ = 0.84-0.95) across the three top-performing, statistically near-equivalent models. A class-weighting sensitivity analysis improved positive predictive value for poor wellbeing from 0.478 to 0.600 with minimal AUC cost. CONCLUSION: Gradient-boosted tree ensembles, particularly LightGBM, showed strong and internally consistent discrimination for these three outcomes, assessed using reliable instruments; however, given the between-cluster homogeneity identified in this sample, external validation in an independent population is essential before any claim of generalizable clinical utility.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Interpretable machine learning for predicting early mental health care-seeking among reproductive-age women in Bangladesh using BDHS 2022 dataDiscover Public Health · 2026
- Explainable AI for Digital Health: Predicting Depression Risk in Older Adults Living Alone Using Machine Learning.Healthcare (Basel, Switzerland) · 2026
- Explainable machine learning for mental health prediction from social media behavior: a nested cross-validation study with SHAP and LIME interpretabilityDiscover Mental Health · 2026
- Machine learning for predicting unmet mental health treatment need among untreated adults with any mental illness: Evidence from a national survey.Psychiatry research · 2026
- Predicting multiple mental health outcomes in adolescents using explainable machine learning models.Frontiers in psychiatry · 2026
- Interpretable machine learning models for analyzing predictors of first-aid knowledge among older adults in Chinese communities: a cross-sectional survey study.BMC geriatrics · 2026