Diagnostic Differentiation Between Unipolar and Bipolar Depression: A Machine Learning Analysis of Demographic and Clinical Features.

IF 2.9 Q3 PSYCHIATRY
Alpha psychiatry Pub Date : 2026-06-30 eCollection Date: 2026-06-01 DOI:10.31083/AP47274
Lishan Ren, Youdan Wei, Mingjian Cai, Mingfen Song, Kaiyuan Zhang, Zhenghe Yu, Hongjing Mao, Wenjuan Liu
{"title":"Diagnostic Differentiation Between Unipolar and Bipolar Depression: A Machine Learning Analysis of Demographic and Clinical Features.","authors":"Lishan Ren, Youdan Wei, Mingjian Cai, Mingfen Song, Kaiyuan Zhang, Zhenghe Yu, Hongjing Mao, Wenjuan Liu","doi":"10.31083/AP47274","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Differentiating between bipolar depression (BD) and unipolar depression (UD) presents a significant clinical challenge. Identifying the potential clinical features that distinguish between these two disorders is essential for optimizing personalized management strategies for individuals with depression. In this study, we employed machine learning to develop a classification model to distinguish between BD and UD based on demographic and clinical features.</p><p><strong>Methods: </strong>Patients with either BD or UD were included in this study. Three machine learning classifiers, including logistic regression (LR), random forest (RF), and support vector machine (SVM) were developed and compared using a dual evaluation strategy: (i) nested stratified cross-validation (5-fold outer, 3-fold inner) for unbiased model comparison; and (ii) an independent stratified hold-out split for final validation. In the latter phase, hyperparameters were optimized on the training set via grid search, with performance reported on the test set using bootstrapped 95% confidence intervals. Shapley Additive Explanations (SHAP) analysis was applied to the optimal model to elucidate feature importance.</p><p><strong>Results: </strong>A total of 449 patients (239 UD and 210 BD) were included. All three models achieved a consistent area under the receiver operating characteristic curve (ROC-AUC) of approximately 0.78, indicating moderate discriminative capacity, with the RF model demonstrating a more balanced error distribution. The top six predictive features were: family history, age, sleep disturbance (Patient Health Questionnaire-9 [PHQ9] item 3), fatigue (PHQ9 item 4), use of sleep medication (Pittsburgh Sleep Quality Index [PSQI] item 6), and suicidal ideation (PHQ9 item 9). The SHAP analysis suggested that younger age, \"uncertain/unknown\" family history, and the use of sleep medication tended to push predictions toward BD, whereas suicidal ideation, sleep disturbance, and fatigue tended to push predictions toward UD.</p><p><strong>Conclusions: </strong>Our machine learning approach identified key predictors-including age, family history, and sleep-related symptoms-to differentiate UD from BD in adolescent and young adult patients. Although achieving moderate accuracy, the model may serve as a supportive screening tool to enhance clinical decision-making.</p>","PeriodicalId":72151,"journal":{"name":"Alpha psychiatry","volume":"27 3","pages":"47274"},"PeriodicalIF":2.9000,"publicationDate":"2026-06-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13339793/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Alpha psychiatry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.31083/AP47274","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/1 0:00:00","PubModel":"eCollection","JCR":"Q3","JCRName":"PSYCHIATRY","Score":null,"Total":0}
引用次数: 0

Abstract

Background: Differentiating between bipolar depression (BD) and unipolar depression (UD) presents a significant clinical challenge. Identifying the potential clinical features that distinguish between these two disorders is essential for optimizing personalized management strategies for individuals with depression. In this study, we employed machine learning to develop a classification model to distinguish between BD and UD based on demographic and clinical features.

Methods: Patients with either BD or UD were included in this study. Three machine learning classifiers, including logistic regression (LR), random forest (RF), and support vector machine (SVM) were developed and compared using a dual evaluation strategy: (i) nested stratified cross-validation (5-fold outer, 3-fold inner) for unbiased model comparison; and (ii) an independent stratified hold-out split for final validation. In the latter phase, hyperparameters were optimized on the training set via grid search, with performance reported on the test set using bootstrapped 95% confidence intervals. Shapley Additive Explanations (SHAP) analysis was applied to the optimal model to elucidate feature importance.

Results: A total of 449 patients (239 UD and 210 BD) were included. All three models achieved a consistent area under the receiver operating characteristic curve (ROC-AUC) of approximately 0.78, indicating moderate discriminative capacity, with the RF model demonstrating a more balanced error distribution. The top six predictive features were: family history, age, sleep disturbance (Patient Health Questionnaire-9 [PHQ9] item 3), fatigue (PHQ9 item 4), use of sleep medication (Pittsburgh Sleep Quality Index [PSQI] item 6), and suicidal ideation (PHQ9 item 9). The SHAP analysis suggested that younger age, "uncertain/unknown" family history, and the use of sleep medication tended to push predictions toward BD, whereas suicidal ideation, sleep disturbance, and fatigue tended to push predictions toward UD.

Conclusions: Our machine learning approach identified key predictors-including age, family history, and sleep-related symptoms-to differentiate UD from BD in adolescent and young adult patients. Although achieving moderate accuracy, the model may serve as a supportive screening tool to enhance clinical decision-making.

单极抑郁症和双相抑郁症的诊断区分:人口统计学和临床特征的机器学习分析。
背景:区分双相抑郁症(BD)和单相抑郁症(UD)是一个重大的临床挑战。识别区分这两种疾病的潜在临床特征对于优化抑郁症患者的个性化管理策略至关重要。在这项研究中,我们利用机器学习开发了一个基于人口统计学和临床特征区分BD和UD的分类模型。方法:本研究纳入BD或UD患者。开发了三种机器学习分类器,包括逻辑回归(LR),随机森林(RF)和支持向量机(SVM),并使用双重评估策略进行了比较:(i)嵌套分层交叉验证(5倍外部,3倍内部)进行无偏模型比较;(ii)一个独立的分层分离,用于最终验证。在后一阶段,通过网格搜索在训练集上优化超参数,并使用自举95%置信区间在测试集上报告性能。在最优模型中应用Shapley加性解释(SHAP)分析来阐明特征的重要性。结果:共纳入449例患者(UD 239例,BD 210例)。所有三种模型在接收机工作特性曲线(ROC-AUC)下的一致面积约为0.78,表明判别能力中等,RF模型显示出更平衡的误差分布。前六个预测特征为:家族史、年龄、睡眠障碍(患者健康问卷-9 [PHQ9]第3项)、疲劳(患者健康问卷-9 [PHQ9]第4项)、睡眠药物使用(匹兹堡睡眠质量指数[PSQI]第6项)和自杀意念(PHQ9项目9)。SHAP分析表明,年龄较小、“不确定/未知”的家族史和睡眠药物的使用倾向于推动双相障碍的预测,而自杀意念、睡眠障碍和疲劳倾向于推动障碍的预测。结论:我们的机器学习方法确定了关键的预测因素,包括年龄、家族史和睡眠相关症状,以区分青少年和年轻成人患者的UD和BD。虽然达到中等准确性,该模型可作为辅助筛选工具,以提高临床决策。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书