Delirium is associated with worse outcomes in patients with stroke and neurocritical illness, but delirium detection in these patients can be challenging with existing screening tools. To address this gap, we aimed to develop and evaluate machine learning models that detect episodes of post-stroke delirium based on data from wearable activity monitors in conjunction with stroke-related clinical features.
We recruited 39 patients with moderate-to-severe acute intracerebral hemorrhage (ICH) and hemiparesis over a 1-year period [mean (SD) age 71.3 (12.20), 54% male, median (IQR) initial NIH Stroke Scale 14.5 (6), median (IQR) ICH score 2 (1)].
Each patient received daily assessments for delirium by an attending neurologist, while activity data were recorded throughout each patient's hospitalization using wrist-worn actigraph devices (on both paretic and non-paretic arms). We compared the predictive accuracy of Random Forest, SVM and XGBoost machine learning methods in classifying daily delirium status using clinical information alone and combined with actigraph data. Among our study cohort, 85% of patients ( n = 33) had at least one delirium episode, while 71% of monitoring days ( n = 209) were rated as days with delirium. Clinical information alone had a low accuracy in detecting delirium on a day-to-day basis [accuracy mean (SD) 62% (18%), F1 score mean (SD) 50% (17%)]. Prediction performance improved significantly ( p < 0.001) with the addition of actigraph data [accuracy mean (SD) 74% (10%), F1 score 65% (10%)]. Among actigraphy features, night-time actigraph data were especially relevant for classification accuracy.