- 1Department of Psychiatry, Kaohsiung Chang Gung Memorial Hospital, Chang Gung University College of Medicine, Kaohsiung, Taiwan
- 2Department of Physical Medicine and Rehabilitation, Kaohsiung Chang Gung Memorial Hospital, Chang Gung University College of Medicine, Kaohsiung, Taiwan
- 3Department of Diagnostic Radiology, Kaohsiung Chang Gung Memorial Hospital, Chang Gung University College of Medicine, Kaohsiung, Taiwan
- 4Department of Anesthesiology, Chi Mei Medical Center, Tainan City, Taiwan
- 5Department of Hospital and Health Care Administration, College of Recreation and Health Management, Chia Nan University of Pharmacy and Science, Tainan City, Taiwan
- 6School of Medicine, College of Medicine, National Sun Yat-sen University, Kaohsiung, Taiwan
- 7College of Humanities and Social Sciences, National Pingtung University of Science and Technology, Pingtung, Taiwan
- 8Department of Child and Adolescent Psychiatry, Kaohsiung Chang Gung Memorial Hospital, Chang Gung University College of Medicine, Kaohsiung, Taiwan
- 9Department of Otolaryngology, Kaohsiung Chang Gung Memorial Hospital, Chang Gung University College of Medicine, Kaohsiung, Taiwan
- 10Department of Public Health, College of Medicine, National Cheng Kung University, Tainan City, Taiwan
- 11Department of Computer Science and Information Engineering, National Cheng Kung University, Tainan City, Taiwan
Introduction: Post-stroke depression (PSD) is a serious mental disorder after ischemic stroke. Early detection is important for clinical practice. This research aims to develop machine learning models to predict new-onset PSD using real-world data.
Methods: We collected data for ischemic stroke patients from multiple medical institutions in Taiwan between 2001 and 2019. We developed models from 61,460 patients and used 15,366 independent patients to test the models’ performance by evaluating their specificities and sensitivities. The predicted targets were whether PSD occurred at 30, 90, 180, and 365 days post-stroke. We ranked the important clinical features in these models.
Results: In the study’s database sample, 1.3% of patients were diagnosed with PSD. The average specificity and sensitivity of these four models were 0.83–0.91 and 0.30–0.48, respectively. Ten features were listed as important features related to PSD at different time points, namely old age, high height, low weight post-stroke, higher diastolic blood pressure after stroke, no pre-stroke hypertension but post-stroke hypertension (new-onset hypertension), post-stroke sleep-wake disorders, post-stroke anxiety disorders, post-stroke hemiplegia, and lower blood urea nitrogen during stroke.
Discussion: Machine learning models can provide as potential predictive tools for PSD and important factors are identified to alert clinicians for early detection of depression in high-risk stroke patients.
1. Introduction
Ischemic stroke, which accounts for 87% of all strokes, is a severe neurological condition that results from the disturbance of blood supply to the brain, arising due to embolism or thrombosis (1). A total of 13.7 million people suffered from strokes in 2016, making it the second major cause of death and disability worldwide (2). Complications after ischemic stroke are common, and affective symptoms such as depression, mania, and other mental disturbances (3), may be a group of common symptoms that are underestimated (4). Among them, post-stroke depression (PSD) is a very severe mental disorder following a stroke that emerges early and contributes to the prolonged declined quality of life of a patient (5, 6). Therefore, early detection and diagnosis of PSD may be an important step in the timely treatment of stroke patients and the improvement of patients’ prognoses.
Clinicians have traditionally often used screening tests to identify PSD at an early stage. A prior study evaluated the Montgomery and Asberg Depression Rating Scale (MADRS) and Hospital Anxiety and Depression Scale (HADS) of stroke patients, and the tools demonstrated moderate performance (MADRS: sensitivity 70%, HADS: sensitivity 32%) (7). Another study compared the performance of four depression screening tests in post-stroke patients, and the result showed that the Whooley questions had the highest sensitivity (89%), followed by the Center for Epidemiologic Studies Depression Scale (80%), the Patient Health Questionnaire with 2-item (79%), and the Patient Health Questionnaire with 9-item (32%) (8). A prospective multicenter observational study reported a reliable scale to detect PSD with moderate sensitivity (65%) and specificity (74%) (9). Despite adequate performance demonstrated by the depression screening tools, they may be too time-consuming when being used by clinicians for PSD screening in clinical practice.
Machine learning models present as a possibly more efficient way to identify PSD. It is a novel method of processing and analyzing data that has been applied in many areas of psychiatry, such as predicting treatment outcomes in depression (10), managing treatment-resistant depression (11), differentiating between clinical anxiety and depression disorders (12), and the prediction of postpartum depression (13). eXtreme Gradient Boosting (XGBoost) is a machine learning algorithm with the technique to process big data efficiently and to assemble several weak classifiers to form a strong classifier (14). Furthermore, XGBoost can also generate the ranking for importance of the predictor features (15).
This study aimed to develop a machine learning-trained model to predict PSD. We accessed a Taiwanese multicenter electronic medical record database and selected the XGBoost algorithm to train the predictive model. We also ranked the importance of features in these machine learning models to further explain the models.
2. Materials and methods
2.1. Data collection and study subjects
The study protocol was approved by the Institutional Review Board of Chang Gung Memorial Hospital (No. 202002296B0). The flowchart for the selection of the subjects is shown in Figure 1. We collected the patients’ data from the Chang Gung Research Database (CGRD) from 1 January 2001 to 31 December 2020. The CGRD is a multicenter electronic medical record database for seven medical institutes in Taiwan, and contains de-identified personal data on medical visits (inpatient and outpatient), background information, diseases [diagnosed by the International Classification of Diseases (ICDs), such as ICD-9/ICD-10], medication records (type and dosage), and laboratory examinations (hematology tests and biochemistry tests). The CGRD database covered 14% of patients with mental illness Taiwan’s total population from 1997 to 2010 (16). We included patient records according to the following criteria: (1) first-time stroke (ICD-9: 430–438; ICD-10: I6, G45, and G46); and (2) observation period of at least 1 year after stroke. We excluded records with the following: (1) a diagnosis of depressive disorder prior to stroke; (2) hemorrhagic stroke (ICD-9: 430–432; ICD-10: I60–I62) or transient ischemic attack (ICD9: 435; ICD-10: I6784, G450, G451, G452, G458, G459, G460, G461, and G462); and (3) age <20 or ≥80 years.
To acquire a prediction model with good generalizability, the data were divided into a dataset for external examination (testing), and a dataset for internal development (training and validation). First, we performed 1:4 stratified random sampling according to age and sex to obtain an external dataset (for testing). Second, the remaining data was used as the developmental dataset (for training and validation) to develop the prediction model by the machine learning method and for data validation (17). Finally, we included 76,826 subjects for data processing.
2.2. Definition of study outcomes and model features
We defined PSD, our primary outcome, as at least one diagnosis of depressive disorders (ICD-9: 296.2, 296.3, 296.9, 300.4, and 311; ICD-10: F32, F33, F34.8, F34.9, and F39) following an ischemic stroke during either outpatient or inpatient care. The CGRD used ICD-9 codes for diagnoses from 2001 to 2015 and ICD-10 codes from 2016 to 2020 in this study. We retrieved the data at different time points to detect whether depression occurred within 1 month (0–30 days), one season (0–90 days), half a year (0–180 days), or 1 year (0–365 days).
To survey for candidate features to predict PSD, we extracted different features from inpatient and outpatient services for analysis, including demographic data (sex and age) during stroke, basic clinical information (height, weight, and blood pressure) during and after stroke, actively/poorly controlled comorbid mental disorders or medical diseases before and after stroke, concomitant medications after stroke, and laboratory data during and after stroke. Previous studies have shown that some patients’ data, including white blood cell counts and high blood pressure, are associated with PSD (18, 19). Therefore, we collected the above data at different time points (before, during, and after), which we defined as 1 year before stroke (before), 29 days before stroke to 1 day after stroke (during), and 29 days before time cutoff (or depression onset) to 1 day after (after). Because there may be multiple records at different time points during the study period (time-dependent variables), such as basic clinical information or laboratory data, if multiple records exist within the same time period, we used the average of these values as a single feature in our model. Detailed information on all features are provided in Supplementary Table 1.
2.3. Machine learning model and interpretation
We used XGBoost to predict the binary outcome (PSD or no PSD). XGBoost applies the decision tree by repetitively centering on harder to predict subunits of the training data (15). We used the XGBoost algorithm with 100 trees in a depth of six layers, and performed fivefold cross-validation to complete the XGBoost prediction model. Finally, we evaluated model performance using the testing dataset and reported the different parameters for each model, including specificity, sensitivity, and the area under the curve for receiver operator characteristic (AUC-ROC).
We used Shapley additive explanation (SHAP) to present the interpretability of the XGBoost model. SHAP was developed to give each feature an importance value for the prediction of the database. Each SHAP value of a particular feature indicated the contribution of the feature to the outcomes. In this study, a higher absolute value of SHAP indicates greater importance of the feature (top feature) in the predictive model. A positive SHAP value of a feature demonstrated an increased risk of depression for the patient and vice versa. The SHAP value of the variables are additive, which means we can convert the contribution of each variable into a part of the output grouping probability (20). Then, we re-ranked the top 10 ensemble features selected from the feature importance ranking results of the four machine learning models to investigate common important features. The method of finding ensemble features was used in our previous work (14). We performed the statistical analyses with the SAS software (SAS Institute Inc., Cary, NC, USA). The statistical significance was identified at p-value <0.05. The machine learning models were processed with Windows Python 3.8 (scikit-learn package v. 1.0.2).
3. Results
A total of 61,460 and 15,366 patients were divided into the development and test datasets, respectively. Approximately 1.3% of patients had PSD (development dataset: 775; test dataset: 194). In both datasets, the mean age was 63 years, 40% were female, the mean systolic/diastolic blood pressure were 135/77 mmHg, and the mean height/weight were 161–162 cm/63–64 kg. Among stroke patients, 6% had sleep-wake disorder, 2% had anxiety disorders, 39% had hypertension, and 3% had hemiplegia, all of which were actively or poorly controlled after stroke. The characteristics of the patient are presented in Table 1.
Table 2 shows the model performance of XGBoost for predicting PSD at different time points. The overall prediction models had specificity between 0.83 and 0.91 and sensitivity between 0.30 and 0.48. The 30-day prediction model had the highest specificity (0.91) but the lowest sensitivity (0.30). The 365-day prediction model predicted PSD over time with the highest sensitivity (0.48) but the lowest specificity (0.83). Furthermore, the AUC-ROC of the four prediction models ranged from 0.64 to 0.71.
Table 3 and Supplementary Figures 1–4 show the top 10 features in the four prediction models obtained by the XGBoost algorithm. For the ensemble features from all four models, old age, high height, low weight after stroke, higher diastolic blood pressure after stroke, new onset hypertension (no pre-stroke hypertension, but post-stroke hypertension), post-stroke sleep-wake disorders, post-stroke anxiety disorders, post-stroke hemiplegia, and lower blood urea nitrogen during stroke were associated with the occurrence of PSD. Among them, sleep-wake disorders after stroke ranked first in all four prediction models. All features used in the four models are detailed in Supplementary Table 2.
4. Discussion
This study developed 30, 90, 180, and 365-day PSD prediction models with the XGBoost algorithm using real data from inpatient and outpatient electronic medical records. In these four models, specificity, sensitivity, accuracy, and AUC-ROC were 83–91, 30–48, 81–90, and 64–71%, respectively. Moreover, we found that the top 10 features in these predictive models included: old age, high height, low weight after stroke, new-onset hypertension (especially higher diastolic blood pressure), post-stroke sleep-wake disorders, post-stroke hemiplegia, post-stroke anxiety disorders, and lower blood urea nitrogen.
Only 1.3% of the patients developed new-onset PSD in our dataset. The prevalence is lower than previous results. A meta-analysis reported the prevalence of depression was 18% in post-stroke patients (21). The discrepancy in prevalence may be attributed to two possible reasons. First, we excluded all patients with a history of depressive disorder prior to stroke (Figure 1, n = 21,837), which may further reduce the incidence of new-onset PSD in this study, as previous depression is an important risk factor for PSD (22). Second, cultural stoicism, as noted in prior epidemiological research in Taiwan, may contribute to a lower prevalence of major depressive disorder in the Taiwanese population (1.2%) compared to their counterparts in Western countries (23). Regarding the performance of our models compared to previous research, a prospective observational study using the Melancholy index of the Hamilton Depression Rating Scale (HDRS) ≥1.5 as a predictor found an association with PSD at 3-month follow-up with a specificity of 90% and a sensitivity of 53% (24). In comparison, the predictive models in this study showed comparability (specificity 83–91%, sensitivity 30–48%). The relatively low sensitivity observed in our models may be attributed to differences in features compared to those found in depression assessment scales such as HDRS. Our model does not include emotion-related features like depressive mood, loss of interest, or suicidal ideation, which are typically present in these scales. Instead, our model focuses more on somatic features, such as sleep disorders and body weight, and incorporates patient background factors, such as age and hypertension. Nonetheless, our model offers greater clinical feasibility advantages in real-world practice. As our predictive model only requires access to existing medical records, eliminating the need for a new time-consuming interview, it presents an opportunity for integration into hospital systems in the future. By utilizing the background information of stroke patients, our model can provide PSD predictions. This could act as an alert for non-psychiatric healthcare professionals, facilitating early referrals to psychiatric specialists for prompt intervention and management. Another issue is the optimal time points for follow-up of PSD. Our study found that the AUC-ROC of the four models increased over time after stroke, and the 365-day cutoff had the best predictive performance, with an AUC-ROC of 71%. Current machine learning algorithms appear to be better at predicting PSD at long-term follow-up (1 year) compared to predicting depression in the acute phase after stroke (1 month). These findings are similar to those of previous studies. One prospective study showed that significant predictors of PSD were found at 12-month follow-up but not at 3-month follow-up (25). Another study found that aphasia 6 months after stroke and related problems 18 months after stroke were associated with depression (26).
Post-stroke sleep-wake disorders was the most influential feature for the prediction of PSD. A meta-analysis reported a 38% prevalence of post-stroke insomnia (27). Numerous studies have found an association between sleep and depression (28). One retrospective study indicated that total sleep time shorter than 6 h could predict PSD (29), and another randomized controlled trial found that interventions to improve sleep quality was able to reduce symptoms of depression (30). The underlying relationships between sleep-wake disorders and depression may have some biochemical causes, such as serotonin and proinflammatory cytokines. First, brain lesions can disrupt ascending projections from the midbrain and brainstem to the frontal cortex, reducing serotonin bioavailability. This neurotransmitter, when released into the diencephalon and cerebrum, may inhibit sleep promotion. The raphe nuclei contain 80% of all brain serotonin neurons, and serotonin was initially believed to be a key neuromodulator of sleep and mood, as its depletion in the raphe system led to insomnia and depression (31). Second, sleep disturbances may elevate inflammatory cytokines like interleukin-6 and tumor necrosis factor (32). This inflammation could, in turn, raise the likelihood of developing depression (33). This potential connection helps explain why sleep-wake disorders are crucial in predicting PSD. Furthermore, post-stroke anxiety was also a relevant feature for predicting PSD in this study. Anxiety symptoms after stroke are common, and a meta-analysis showed a 29% pooled prevalence of post-stroke anxiety disorder (34). One study showed a significant association between anxiety and depression in the post-stroke period (35), while another study found a significant association between post-stroke anxiety and sleep disturbance (reduced daytime and nighttime sleep time) (36).
Post-stroke hypertension and higher diastolic blood pressure on post-stroke physical examination were associated with PSD in our predictive models. One prior study demonstrated that hypertension plays a role in predicting 3-month PSD (37). Another study reported that a longer duration of hypertension was also associated with new-onset depression after stroke (38). Another survey examined multiple vascular risk factors (hypertension, diabetes, hyperlipidemia, smoking, and obesity), and found that only hypertension was an independent predictor of PSD (18). The vascular depression hypothesis postulates a role for vascular lesions in PSD (39). Hypertension demonstrates a classic vascular risk factor and is associated with white matter hyperintensities, which may be a possible pathophysiology of depression in later life (40). Additionally, our model found no association between pre-stroke hypertension and PSD. Combined with the above findings, new-onset hypertension (no pre-stroke hypertension, but post-stroke hypertension) and uncontrolled hypertension after stroke may have greater impact on PSD.
Older age was a predictor of PSD in our model, which supports previous studies. In patients with lacunar stroke/small vessel diseases, elderly patients are more likely to develop depression than younger patients (41), and frontal periventricular age-related white matter hyperintensity is associated with early-onset PSD (42). Moreover, our results also showed that low weight after stroke was associated with PSD. This may be due to poor appetite, a symptom of depressive disorder, leading to lower body weight. As for the association of higher height with PSD, it might be more informative to consider it in conjunction with weight. At the same weight, higher height might represent a lower body mass index, which could indicate malnutrition. Poor nutritional status could be a consequence of depression (due to decreased appetite) (43). Hemiplegia was also an influential feature. Hemiplegia is a severe neurological deficit that negatively affects the patient’s daily life. A prospective study demonstrated that stroke patients with hemiplegia had lower quality of life and more depressive symptoms (44). In respect of functional outcomes of stroke survivors, one research indicated that hemiparesis was associated with self-reported general health and subjective feeling of depression (45). A prospective study using the Barthel index reported that severe functional impairment was a predictor of PSD at 12-month follow-up (25). In this study, the top 10 features predicting PSD were different at different time points. For example, hemiplegia revealed a valid feature (top 10) for predicting depression in the 90, 180, and 365-day models, with increasing ranking over time, but not among the top 10 features in the 30-day model (Table 3). Functional impairment due to hemiplegia may worsen depressive symptoms. A longitudinal study noted that severe depression was associated with higher levels of functional impairment 6 months after stroke compared with 48 h after stroke (46).
This study has some advantages. First, the model was developed from a real-world electronic medical record database and it represents the characteristics of local patients. The medical staff can use this clinical tool to predict PSD conveniently without complex evaluation and facilitate prompt subsequent treatment of depression to improve patients’ quality of life. There are several limitations in the interpretation of the data of this study. First, the database included all stroke patients with depression-related diagnoses, and the severity of depression was not analyzed in the prediction model, which may reduce the test validity. Second, individuals with a history of prior traumatic events or psychosocial factors were not analyzed in this study. Third, the effect of ongoing/no treatment of depression after stroke was not considered in the data analysis. Fourth, information regarding stroke severity and the location of brain lesions was not available in CGRD. Epilepsy, multiple sclerosis, dementia, or other neurological problems that could exacerbate depressive symptoms after stroke were not excluded during model development. These factors may also influence the occurrence of PSD. Fifth, the impact of education level was not tested in the prediction model. Sixth, the patient population in this study consisted of individuals aged between 20 and 79 years; therefore, we might not be able to generalize the predictive model to younger or older individuals. Seventh, depressive disorders identified in the CGRD were evaluated by different clinicians and used two different diagnostic systems (ICD-9 and ICD-10) across different periods of time (from 2001 to 2019) (47, 48). Under these circumstances, CGRD has not yet demonstrated the validity or reliability of these depression diagnoses. However, a post hoc analysis indicated that all depression patients in our study were diagnosed by psychiatrists at least once, and psychiatrists in Taiwan are well-trained by the Taiwanese Society of Psychiatry to ensure standard and consistent coding behaviors. Accordingly, we believe that the diagnosis of depressive disorder we defined should be relatively sound.
This study collected real-world electronic medical records from multicenter medical centers and developed PSD prediction models for different time periods. Overall specificity, sensitivity, accuracy, and AUC-ROC were 83–91, 30–48, 81–90, and 64–71%, respectively. The models revealed the top 10 important features, such as post-stroke sleep-wake disorder, uncontrolled blood pressure after stroke, and old age. The model handles complex real-world clinical records and provides a potential utility for predicting PSD.
Data availability statement
The original contributions presented in this study are included in the article/Supplementary material, further inquiries can be directed to the corresponding author.
Ethics statement
The studies involving human participants were reviewed and approved by the Institutional Review Board of Chang Gung Memorial Hospital (No. 202002296B0). Written informed consent for participation was not required for this study in accordance with the national legislation and the institutional requirements.
Author contributions
C-WH conceived the research idea for the study, contributed to data acquisition and extraction, and performed the statistical analysis. C-WH led the study design, with Y-MC, P-CC, and H-YK. Y-MC verified the underlying data and drafted the manuscript first. Y-MC, P-CC, W-CL, K-CH, Y-CC, C-FH, L-JW, C-NW, C-WH, and H-YK revised the manuscript. All authors contributed important intellectual content during manuscript revision, had full access to all the data in the study, and accepted responsibility to submit for publication.
Funding
This study was supported by grants from the Chang Gung Medical Research Project (grant number CMRPG8M0531). The funding sources had no role in the design of the study.
Acknowledgments
The authors would like to thank Ms. Pei-Ying Yang and Mr. Chien-An Hu for the technical support.
Conflict of interest
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
Supplementary material
The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpsyt.2023.1195586/full#supplementary-material
References
1. Ot S, Zafar L, Beg M, Siddiqui O. Association of mean platelet volume with risk factors and functional outcome in acute ischemic stroke. J Neurosci Rural Pract. (2021) 12:764–9. doi: 10.1055/s-0041-1735326
2. Saini V, Guada L, Yavagal D. Global epidemiology of stroke and access to acute ischemic stroke interventions. Neurology. (2021) 97:S6–16. doi: 10.1212/WNL.0000000000012781
3. Ferro J, Caeiro L, Figueira M. Neuropsychiatric sequelae of stroke. Nat Rev Neurol. (2016) 12:269–80. doi: 10.1038/nrneurol.2016.46
4. Langhorne P, Stott D, Robertson L, MacDonald J, Jones L, McAlpine C, et al. Medical complications after stroke: a multicenter study. Stroke. (2000) 31:1223–9. doi: 10.1161/01.STR.31.6.1223
5. Angelelli P, Paolucci S, Bivona U, Piccardi L, Ciurli P, Cantagallo A, et al. Development of neuropsychiatric symptoms in poststroke patients: a cross-sectional study. Acta Psychiatr Scand. (2004) 110:55–63. doi: 10.1111/j.1600-0447.2004.00297.x
6. Gaete J, Bogousslavsky J. Post-stroke depression. Expert Rev Neurother. (2008) 8:75–92. doi: 10.1586/14737175.8.1.75
7. Sagen U, Vik T, Moum T, Mørland T, Finset A, Dammen T. Screening for anxiety and depression after stroke: comparison of the hospital anxiety and depression scale and the Montgomery and Asberg depression rating scale. J Psychosom Res. (2009) 67:325–32. doi: 10.1016/j.jpsychores.2009.03.007
8. Lees R, Stott D, Quinn T, Broomfield N. Feasibility and diagnostic accuracy of early mood screening to diagnose persisting clinical depression/anxiety disorder after stroke. Cerebrovasc Dis. (2014) 37:323–9. doi: 10.1159/000360755
9. Hirt J, van Meijeren L, Saal S, Hafsteinsdóttir T, Hofmeijer J, Kraft A, et al. Predictive accuracy of the Post-Stroke Depression Prediction Scale: a prospective binational observational study✩. J Affect Disord. (2020) 265:39–44. doi: 10.1016/j.jad.2020.01.019
10. Lee Y, Ragguett R, Mansur R, Boutilier J, Rosenblat J, Trevizol A, et al. Applications of machine learning algorithms to predict therapeutic outcomes in depression: a meta-analysis and systematic review. J Affect Disord. (2018) 241:519–32. doi: 10.1016/j.jad.2018.08.073
11. Pigoni A, Delvecchio G, Madonna D, Bressi C, Soares J, Brambilla P. Can machine learning help us in dealing with treatment resistant depression? A review. J Affect Disord. (2019) 259:21–6. doi: 10.1016/j.jad.2019.08.009
12. Richter T, Fishbain B, Fruchter E, Richter-Levin G, Okon-Singer H. Machine learning-based diagnosis support system for differentiating between clinical anxiety and depression disorders. J Psychiatr Res. (2021) 141:199–205. doi: 10.1016/j.jpsychires.2021.06.044
13. Cellini P, Pigoni A, Delvecchio G, Moltrasio C, Brambilla P. Machine learning in the prediction of postpartum depression: a review. J Affect Disord. (2022) 309:350–7. doi: 10.1016/j.jad.2022.04.093
14. Hsu C, Tsai S, Wang L, Liang C, Carvalho A, Solmi M, et al. Predicting serum levels of lithium-treated patients: a supervised machine learning approach. Biomedicines. (2021) 9:1558. doi: 10.3390/biomedicines9111558
15. Chen T, Guestrin C. XGBoost: a scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining. San Francisco, CA: Association for Computing Machinery (2016). p. 785–94. doi: 10.1145/2939672.2939785
16. Tsai M, Lin M, Lee C, Yang Y, Chen W, Chang G, et al. Chang gung research database: a multi-institutional database consisting of original medical records. Biomed J. (2017) 40:263–9. doi: 10.1016/j.bj.2017.08.002
17. Chekroud A, Bondar J, Delgadillo J, Doherty G, Wasil A, Fokkema M, et al. The promise of machine learning in predicting treatment outcomes in psychiatry. World Psychiatry. (2021) 20:154–70. doi: 10.1002/wps.20882
18. Tennen G, Herrmann N, Black S, Levy K, Cappell J, Li A, et al. Are vascular risk factors associated with post-stroke depressive symptoms? J Geriatr Psychiatry Neurol. (2011) 24:215–21. doi: 10.1177/0891988711422526
19. Liegey J, Sagnier S, Debruxelles S, Poli M, Olindo S, Renou P, et al. Influence of inflammatory status in the acute phase of stroke on post-stroke depression. Rev Neurol. (2021) 177:941–6. doi: 10.1016/j.neurol.2020.11.005
20. Lundberg S, Lee S. A unified approach to interpreting model predictions. Proceedings of the 31st international conference on neural information processing systems. Long Beach, CA: Curran Associates Inc. (2017). p. 4768–77.
21. Mitchell A, Sheth B, Gill J, Yadegarfar M, Stubbs B, Yadegarfar M, et al. Prevalence and predictors of post-stroke mood disorders: a meta-analysis and meta-regression of depression, anxiety and adjustment disorder. Gen Hosp Psychiatry. (2017) 47:48–60. doi: 10.1016/j.genhosppsych.2017.04.001
22. Robinson R, Jorge R. Post-stroke depression: a review. Am J Psychiatry. (2016) 173:221–31. doi: 10.1176/appi.ajp.2015.15030363
23. Liao S, Chen W, Lee M, Lung F, Lai T, Liu C, et al. Low prevalence of major depressive disorder in Taiwanese adults: possible explanations and implications. Psychol Med. (2012) 42:1227–37. doi: 10.1017/S0033291711002364
24. Fuentes B, Ortiz X, Sanjose B, Frank A, Díez-Tejedor E. Post-stroke depression: can we predict its development from the acute stroke phase? Acta Neurol Scand. (2009) 120:150–6. doi: 10.1111/j.1600-0404.2008.01139.x
25. Kulkantrakorn K, Jirapramukpitak T. A prospective study in one year cumulative incidence of depression after ischemic stroke and Parkinson’s disease: a preliminary study. J Neurol Sci. (2007) 263:165–8. doi: 10.1016/j.jns.2007.07.014
26. De Ryck A, Fransen E, Brouns R, Geurden M, Peij D, Mariën P, et al. Poststroke depression and its multifactorial nature: results from a prospective longitudinal study. J Neurol Sci. (2014) 347:159–66. doi: 10.1016/j.jns.2014.09.038
27. Baylan S, Griffiths S, Grant N, Broomfield N, Evans J, Gardani M. Incidence and prevalence of post-stroke insomnia: a systematic review and meta-analysis. Sleep Med Rev. (2020) 49:101222. doi: 10.1016/j.smrv.2019.101222
28. Tsuno N, Besset A, Ritchie K. Sleep and depression. J Clin Psychiatry. (2005) 66:1254–69. doi: 10.4088/JCP.v66n1008
29. Liu F, Yang Y, Wang S, Zhang X, Wang A, Liao X, et al. Impact of sleep duration on depression and anxiety after acute ischemic stroke. Front Neurol. (2021) 12:630638. doi: 10.3389/fneur.2021.630638
30. Scott A, Webb T, Martyn-St James M, Rowse G, Weich S. Improving sleep quality leads to better mental health: a meta-analysis of randomised controlled trials. Sleep Med Rev. (2021) 60:101556. doi: 10.1016/j.smrv.2021.101556
31. Wang L, Tao Y, Chen Y, Wang H, Zhou H, Fu X. Association of post stroke depression with social factors, insomnia, and neurological status in Chinese elderly population. Neurol Sci. (2016) 37:1305–10. doi: 10.1007/s10072-016-2590-1
32. Irwin M. Sleep deprivation and activation of morning levels of cellular and genomic markers of inflammation. Arch Intern Med. (2006) 166:1756. doi: 10.1001/archinte.166.16.1756
33. Slavich G, Irwin M. From stress to inflammation and major depressive disorder: a social signal transduction theory of depression. Psychol Bull. (2014) 140:774–815. doi: 10.1037/a0035302
34. Rafsten L, Danielsson A, Sunnerhagen K. Anxiety after stroke: a systematic review and meta-analysis. J Rehabil Med. (2018) 50:769–78. doi: 10.2340/16501977-2384
35. Schöttke H, Giabbiconi C. Post-stroke depression and post-stroke anxiety: prevalence and predictors. Int Psychogeriatr. (2015) 27:1805–12. doi: 10.1017/S1041610215000988
36. Almhdawi K, Alazrai A, Kanaan S, Shyyab A, Oteir A, Mansour Z, et al. Post-stroke depression, anxiety, and stress symptoms and their associated factors: a cross-sectional study. Neuropsychol Rehabil. (2021) 31:1091–104. doi: 10.1080/09602011.2020.1760893
37. Li G, Jing P, Chen G, Mei J, Miao J, Sun W, et al. Development and validation of 3-month major post-stroke depression prediction nomogram after acute ischemic stroke onset. Clin Interv Aging. (2021) 16:1439–47. doi: 10.2147/CIA.S318857
38. Isuru A, Hapangama A, Ediriweera D, Samarasinghe L, Fonseka M, Ranawaka U. Prevalence and predictors of new onset depression in the acute phase of stroke. Asian J Psychiatr. (2021) 59:102636. doi: 10.1016/j.ajp.2021.102636
39. Vataja R, Pohjasvaara T, Leppävuori A, Mäntylä R, Aronen H, Salonen O, et al. Magnetic resonance imaging correlates of depression after ischemic stroke. Arch Gen Psychiatry. (2001) 58:925–31. doi: 10.1001/archpsyc.58.10.925
40. de Groot J, de Leeuw F, Oudkerk M, Hofman A, Jolles J, Breteler M. Cerebral white matter lesions and depressive symptoms in elderly adults. Arch Gen Psychiatry. (2000) 57:1071–6. doi: 10.1001/archpsyc.57.11.1071
41. Pavlovic A, Pekmezovic T, Zidverc Trajkovic J, Svabic Medjedovic T, Veselinovic N, Radojicic A, et al. Baseline characteristic of patients presenting with lacunar stroke and cerebral small vessel disease may predict future development of depression. Int J Geriatr Psychiatry. (2016) 31:58–65. doi: 10.1002/gps.4289
42. He J, Zhang Y, Lu W, Liang H, Tu X, Ma F, et al. Age-related frontal periventricular white matter hyperintensities and miR-92a-3p are associated with early-onset post-stroke depression. Front Aging Neurosci. (2017) 9:328. doi: 10.3389/fnagi.2017.00328
43. Zielińska-Nowak E, Cichon N, Saluk-Bijak J, Bijak M, Miller E. Nutritional supplements and neuroprotective diets and their potential clinical significance in post-stroke rehabilitation. Nutrients. (2021) 13:2704. doi: 10.3390/nu13082704
44. Laurent K, De Sèze M, Delleci C, Koleck M, Dehail P, Orgogozo J, et al. Assessment of quality of life in stroke patients with hemiplegia. Ann Phys Rehabil Med. (2011) 54:376–90. doi: 10.1016/j.rehab.2011.06.002
45. Appelros P, Matérne M, Jarl G, Arvidsson-Lindvall M. Comorbidity in stroke-survivors: prevalence and associations with functional outcomes and health. J Stroke Cerebrovasc Dis. (2021) 30:106000. doi: 10.1016/j.jstrokecerebrovasdis.2021.106000
46. Sit J, Wong T, Clinton M, Li L. Associated factors of post-stroke depression among Hong Kong Chinese: a longitudinal study. Psychol Health Med. (2007) 12:117–25. doi: 10.1080/14622200500358978
47. Chen Y, Liang C, Wang L, Hung K, Carvalho A, Solmi M, et al. Comparative effectiveness of valproic acid in different serum concentrations for maintenance treatment of bipolar disorder: a retrospective cohort study using target trial emulation framework. EClinicalMedicine. (2022) 54:101678. doi: 10.1016/j.eclinm.2022.101678
Keywords: artificial intelligence, depressive disorder, electronic medical record, feature importance, prediction
Citation: Chen Y-M, Chen P-C, Lin W-C, Hung K-C, Chen Y-CB, Hung C-F, Wang L-J, Wu C-N, Hsu C-W and Kao H-Y (2023) Predicting new-onset post-stroke depression from real-world data using machine learning algorithm. Front. Psychiatry 14:1195586. doi: 10.3389/fpsyt.2023.1195586
Received: 28 March 2023; Accepted: 29 May 2023;
Published: 19 June 2023.
Edited by:
Raymond W. Lam, University of British Columbia, CanadaReviewed by:
Han Qi, Capital Medical University, ChinaMario Dulay, Houston Methodist Neurological Institute, United States
Copyright © 2023 Chen, Chen, Lin, Hung, Chen, Hung, Wang, Wu, Hsu and Kao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Chih-Wei Hsu, aGFyd2ljYWNhZGVtaWFAZ21haWwuY29t
†These authors have contributed equally to this work and share first authorship