Skip to main content

Abstract

Objective

To evaluate if a machine learning approach can accurately predict antidepressant treatment outcome using electronic health records (EHRs) from patients with depression.

Method

This study examined 808 patients with depression at a New York City‐based outpatient mental health clinic between June 13, 2016 and June 22, 2020. Antidepressant treatment outcome was defined based on trend in depression symptom severity over time and was categorized as either “Recovering” or “Worsening” (i.e., non‐Recovering), measured by the slope of individual‐level Patient Health Questionnaire‐9 (PHQ‐9) score trajectory spanning 6 months following treatment initiation. A patient was designated as “Recovering” if the slope is less than 0 and as “Worsening” if the slope was no less than 0. Multiple machine learning (ML) models including L2 norm regularized Logistic Regression, Naive Bayes, Random Forest, and Gradient Boosting Decision Tree (GBDT) were used to predict treatment outcome based on additional data from EHRs, including demographics and diagnoses. Shapley Additive Explanations were applied to identify the most important predictors.

Results

The GBDT achieved the best results of predicting “Recovering” (AUC: 0.7654 ± 0.0227; precision: 0.6002 ± 0.0215; recall: 0.5131 ± 0.0336). When excluding patients with low PHQ‐9 scores (<10) at baseline, the results of predicting “Recovering” (AUC: 0.7254 ± 0.0218; precision: 0.5392 ± 0.0437; recall: 0.4431 ± 0.0513) were obtained. Prior diagnosis of anxiety, psychotherapy, recurrent depression, and baseline depression symptom severity were strong predictors.

Conclusions

The results demonstrate the potential utility of using ML in longitudinal EHRs to predict antidepressant treatment outcome. Our predictive tool holds the promise to accelerate personalized medical management in patients with psychiatric illnesses.

Formats available

You can view the full content in the following formats:

Supplementary Material

File (rcp21061-sup-0001-suppl-data.docx)
Supplementary Information S1

Information & Authors

Information

Published In

Go to Psychiatric Research and Clinical Practice
Psychiatric Research and Clinical Practice
Pages: 118 - 125

History

Received: 20 June 2022
Revision received: 26 February 2023
Accepted: 28 February 2023
Published online: 27 March 2023
Published in print: Winter 2023

Authors

Affiliations

Zhenxing Xu, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Fei Wang, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Judith Cukor, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Chang Su, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Prakash Adekkanattu, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Pascal Brandt, MSc
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Guoqian Jiang, MD, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Richard C. Kiefer, BS
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Yuan Luo, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Luke V. Rasmussen, MS
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Jie Xu, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Yunyu Xiao, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
George Alexopoulos, MD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)
Jyotishman Pathak, PhD
Weill Cornell Medicine, New York, New York, USA (Z. Xu, V. Vekaria, F. Wang, J. Cukor, P. Adekkanattu, Y. Xiao, G. Alexopoulos, J. Pathak); Temple University, Philadelphia, Pennsylvania, USA (C. Su); University of Washington, Seattle, Washington, USA (P. Brandt); Mayo Clinic, Rochester, Minnesota, USA (G. Jiang, R. C. Kiefer); Northwestern University, Chicago, Illinois, USA (Y. Luo, L. V. Rasmussen); University of Florida, Gainesville, Florida, USA (J. Xu)

Notes

Send correspondence to
Dr. Pathak
([email protected])

Funding Information

National Institutes of Health: R01 GM105688, R01 MH119177, R01 MH121907, R01 MH121922

Metrics & Citations

Metrics

Citations

Export Citations

If you have the appropriate software installed, you can download article citation data to the citation manager of your choice. Simply select your manager software from the list below and click Download.

For more information or tips please see 'Downloading to a citation manager' in the Help menu.

Format
Citation style
Style
Copy to clipboard

There are no citations for this item

View Options

View options

PDF/ePub

View PDF/ePub

Full Text

View Full Text

Get Access

Login options

Already a subscriber? Access your subscription through your login credentials or your institution for full access to this article.

Personal login Institutional Login Open Athens login

Not a subscriber?

Subscribe Now / Learn More

PsychiatryOnline subscription options offer access to the DSM-5-TR® library, books, journals, CME, and patient resources. This all-in-one virtual library provides psychiatrists and mental health professionals with key resources for diagnosis, treatment, research, and professional development.

Need more help? PsychiatryOnline Customer Service may be reached by emailing [email protected] or by calling 800-368-5777 (in the U.S.) or 703-907-7322 (outside the U.S.).

Media

Figures

Other

Tables

Share

Share

Share article link

Share