Research Article

Performance comparison of logistic regression and random forest model in bipolar disorder diagnosis

Ruowei Zhong*
Center for Neural Science, New York University, NY, USA

* Corresponding author: [email protected]

Abstract

Bipolar disorder (BD) is a significant psychiatric disease that has a large impact on patients’ living qualities. The diagnosis of BD is important for the early treatment and effective control that benefits the patients, their families, and society. With the development of machine learning algorithms, this paper makes use of the multinomial logistic regression (LR) and Random Forest (RF) models in predicting bipolar disorder (BD). The evaluation and comparison between the two models are conducted to present the possibility of using ML models to help with diagnosis of the BD. A dataset consisting of 120 individuals, including 28 BD Type I patients, 31 BD Type II patients, 31 depression patients, and 30 normal individuals was used in this study. The performance of the models was assessed using metrics such as accuracy, confusion matrix, cross-validation scores, classification report, and ROC-AUC curves. The multinomial LR model demonstrated superior performance with an accuracy of 83%, higher cross-validation scores, and better discriminative ability as indicated by ROC-AUC values. In contrast, the RF model achieved an accuracy of 79%, with lower precision and recall for certain classes. The findings suggest that the multinomial LR model is more effective in predicting bipolar disorder and its subtypes, making it a robust and reliable tool for clinical diagnostics.

Keywords: Bipolar Disorder; Machine Learning; Multinomial Logistic Regression; Random Forest Model; Clinical Diagnostics.
Published: November 15, 2024
DOI: 10.54254/2753-8818/50/2024AU0141
Volume: TNS Vol.50
pp. 134-140
Download PDF

References

  1. Grande, I., Berk, M., Birmaher, B., & Vieta, E. (2016). Bipolar disorder. Lancet, 387(10027), 1561-1572.
  2. Latifian, M., Abdi, K., Raheb, G., Islam, S. M. S., & Alikhani, R. (2023). Stigma in people living with bipolar disorder and their families: a systematic review. International Journal of Bipolar Disorders, 11(9).
  3. Miller, J. N., & Black, D. W. (2020). Bipolar Disorder and Suicide: a Review. Current Psychiatry Reports, 22(6).
  4. Goodwin, G. M. (2024). Bipolar disorder. Medicine, 52(8), 481-484.
  5. Oliva, V., De Prisco, M., Fico, G., Possidente, C., Fortea, L., Montejo, L., ... & Radua, J. (2023). Correlation between emotion dysregulation and mood symptoms of bipolar disorder: A systematic review and meta‐analysis. Acta Psychiatrica Scandinavica, 148(6), 472-490.
  6. McIntyre, R. S., Berk, M., Brietzke, E., Goldstein, B. I., López-Jaramillo, C., Kessing, L. V., ... & Mansur, R. B. (2020). Bipolar disorders. The Lancet, 396(10265), 1841-1856.
  7. Gordovez, F. J. A., & McMahon, F. J. (2020). The genetics of bipolar disorder. Molecular psychiatry, 25(3), 544-559.
  8. Ching, C. R., Hibar, D. P., Gurholt, T. P., Nunes, A., Thomopoulos, S. I., Abé, C., ... & ENIGMA Bipolar Disorder Working Group. (2022). What we learn about bipolar disorder from large‐scale neuroimaging: Findings and future directions from the ENIGMA Bipolar Disorder Working Group. Human brain mapping, 43(1), 56-82.
  9. Ye, S. Y., Zhao, Y., Liu, Z. B., Luo, C. P., Xiong, J. W., Zhan, J. Q., ... & Yang, Y. J. (2024). Lower serum insulin-like growth factor 2 level in patients with bipolar disorder is associated with the severity of manic symptoms during manic episodes. Frontiers in Psychiatry, 15, 1354999.
  10. Marangoni, C., Hernandez, M., & Faedda, G. L. (2016). The role of environmental exposures as risk factors for bipolar disorder: a systematic review of longitudinal studies. Journal of affective disorders, 193, 165-174.
  11. American Psychiatric Association. (2013). Diagnostic and statistical manual of mental disorders (5th ed.). American Psychiatric Association.
  12. Bzdok, D., & Meyer-Lindenberg, A. (2018). Machine learning for precision psychiatry: opportunities and challenges. Biological Psychiatry: Cognitive Neuroscience and Neuroimaging, 3(3), 223-230.
  13. Nusinovici, S., Tham, Y. C., Yan, M. Y. C., Ting, D. S. W., Li, J., Sabanayagam, C., ... & Cheng, C. Y. (2020). Logistic regression was as good as machine learning for predicting major chronic diseases. Journal of clinical epidemiology, 122, 56-69.
  14. Abou-Warda, H., Belal, N. A., El-Sonbaty, Y., & Darwish, S. (2017). A Random Forest model for mental disorders diagnostic systems. In Proceedings of the International Conference on Advanced Intelligent Systems and Informatics 2016 2 (pp. 670-680). Springer International Publishing.
  15. Karbalaeipour, H., Damari, S., Zolfagharnasab, M. H., & Haghdadi, A. (2023). A collection of 120 psychology patients with 17 essential symptoms to diagnose mania bipolar disorder, depressive bipolar disorder, major depressive disorder, and normal individuals (Version 1). Harvard Dataverse.
  16. Bisong, E. (2019). In Building Machine Learning and Deep Learning Models on Google Cloud Platform: A Comprehensive Guide for Beginners (pp. 243-250).
  17. Biau, G. (2012). Analysis of a random forests model. The Journal of Machine Learning Research, 13(1), 1063-1095.
  18. Borgqvist, J. G., & Palmer, S. (2022). Occam’s razor gets a new edge: the use of symmetries in model selection. Journal of The Royal Society Interface, 19(193).