Development and external validation of a diagnostic model for differentiating major depressive disorder from bipolar disorder
Hongxin Zheng, Xialong Cheng, Wenxin Gan, Shuyu Duan, Yizi Liu, Kun Li, Chen Su, Chenxi Xu, Yongcan Zhou, Wenwei Zhang, Runbo Wu, Yu Xie

TL;DR
This study developed a machine learning model to help distinguish between major depressive disorder and bipolar disorder using electronic medical records, aiming to improve diagnostic accuracy and treatment outcomes.
Contribution
The novel contribution is a validated machine learning model using EMR data to differentiate MDD from BD, with insights into key predictive features.
Findings
A random forest model achieved an AUC of 0.863 in internal validation and 0.710 in external validation.
Illness duration, creatine kinase levels, and age of onset were identified as key predictive features.
The model shows potential as a clinical decision support tool but may misclassify latent bipolar disorder cases.
Abstract
Misdiagnosing bipolar disorder (BD) as major depressive disorder (MDD) can lead to poor treatment outcomes. This study aims to develop and validate a machine learning-based model to effectively differentiate between MDD and BD using electronic medical record (EMR) data. This retrospective study enrolled 584 patients with BD and 1,179 patients with MDD from two medical centers between January 2022 and August 2024. Feature selection was performed using both Least Absolute Shrinkage and Selection Operator (LASSO) regression and the Boruta algorithm. Six machine learning (ML) algorithms were used to construct the model. SHapley Additive exPlanations (SHAP) analysis was conducted to improve model interpretability. Among the six machine learning models constructed based on these features, the RF model demonstrated the best overall performance, achieving the highest (AUC = 0.863) in the…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBipolar Disorder and Treatment · Treatment of Major Depression · Digital Mental Health Interventions
