Development and Validation of Machine-Learning Algorithms to Predict the Onset of Depression Using Electronic Health Record Data: A Prognostic Modeling Study
Studies in Health Technology and Informatics · 07.08.2025
DOI: 10.3233/shti250989 ↗Kurz gefasst
Validierungsstudie in der Zeitschrift Studies in Health Technology and Informatics, erschienen am 07.08.2025. Verfasst von Frances R Chen und 3 weiteren Autor:innen. Beteiligte Einrichtung: Georgia State University Andrew Young School of Policy Studies, Atlanta, GA USA. Hauptthemen laut MEDLINE: Electronic Health Records, Machine Learning, Algorithms, Major Depressive Disorder. Die Arbeit wurde bisher 2-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY-NC 4.0).
Themen: Depression
Abstract (Originalsprache)
Introduction
Early detection and intervention are crucial for reducing the impacts of depression and associated healthcare costs. Few studies have used electronic health records (EHR) and machine learning (ML) with a longitudinal design to predict depression onset. We developed and validated ML algorithms using EHR to identify patients at high risk for the onset of diagnosis-based major depressive disorder (MDD) in primary care settings.
Methods
Using a prognostic modeling approach with retrospective cohort study design, we identified patient visits in primary care settings for individuals aged ≥18 years from the Accelerating Data Value Across a National Community Health Center Network Clinical Research Network 2015–2021 data. We measured 267 features at six-month intervals starting six months prior to the first encounter. We developed algorithms using Least Absolute Shrinkage and Selection Operator (LASSO), random forest, and XGBoost with 10-fold cross validation. Using hold-out testing data, we measured prediction performance (e.g., C-statistics), stratified patients into decile risk subgroups, and assessed model biases.
Results
Among eligible 1,965,399 individuals (mean age = 43.52 ± 16.04 years; male = 35%; African American = 20%) with 4,985,280 person-periods, the MDD onset rate was 1% during the study period. XGBoost performed similarly to other models and had the fewest predictors, (C-statistic = 0.763, 95% CI = [0.760, 0.767]). XGBoost had a 66.78% sensitivity, 74.19% specificity, and 2.55% positive predictive value at the balanced threshold identified using Youdan Index. The top three risk decile subgroups captured ∼70% of MDD cases, without significant racial or sex biases.
Conclusions
An ML algorithm using EHR data can effectively identify individuals at high risk of depression onset within the subsequent six months, without exacerbating racial or sex biases, providing a valuable tool for targeted early interventions.
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Georgia State University Andrew Young School of Policy Studies, Atlanta, GA USA.
- University of Florida, College of Pharmacy, Gainesville, FL USA.
- University of Pittsburgh School of Medicine, Pittsburgh, PA USA.
- North Florida/South Georgia Veterans Health System, Geriatric Research Education and Clinical Center, Gainesville, FL USA.
Zitieren
APA
Chen, F. R., Huang, J. L., Wilson, D. L., & Lo-Ciganic, W. J. (2025). Development and Validation of Machine-Learning Algorithms to Predict the Onset of Depression Using Electronic Health Record Data: A Prognostic Modeling Study. Studies in Health Technology and Informatics. https://doi.org/10.3233/shti250989
Vancouver
Chen FR, Huang JL, Wilson DL, Lo-Ciganic WJ. Development and Validation of Machine-Learning Algorithms to Predict the Onset of Depression Using Electronic Health Record Data: A Prognostic Modeling Study. Studies in Health Technology and Informatics. 2025. doi:10.3233/shti250989
BibTeX
@article{Chen2025,
author = {Chen, Frances R and Huang, James L and Wilson, Debbie L and Lo-Ciganic, Wei-Hsuan Jenny},
title = {Development and Validation of Machine-Learning Algorithms to Predict the Onset of Depression Using Electronic Health Record Data: A Prognostic Modeling Study},
journal = {Studies in Health Technology and Informatics},
year = {2025},
doi = {10.3233/shti250989}
}
EUVIMED