Predicting the Next-Day Perceived and Physiological Stress of Pregnant Women by Using Machine Learning and Explainability: Algorithm Development and Validation
Open Access
- 2 August 2022
- journal article
- research article
- Published by JMIR Publications Inc. in JMIR mHealth and uHealth
- Vol. 10 (8) , e33850
Abstract
Background: Cognitive behavioral therapy–based interventions are effective in reducing prenatal stress, which can have severe adverse health effects on mothers and newborns if unaddressed. Predicting next-day physiological or perceived stress can help to inform and enable pre-emptive interventions for a likely physiologically and perceptibly stressful day. Machine learning models are useful tools that can be developed to predict next-day physiological and perceived stress by using data collected from the previous day. Such models can improve our understanding of the specific factors that predict physiological and perceived stress and allow researchers to develop systems that collect selected features for assessment in clinical trials to minimize the burden of data collection. Objective: The aim of this study was to build and evaluate a machine-learned model that predicts next-day physiological and perceived stress by using sensor-based, ecological momentary assessment (EMA)–based, and intervention-based features and to explain the prediction results. Methods: We enrolled pregnant women into a prospective proof-of-concept study and collected electrocardiography, EMA, and cognitive behavioral therapy intervention data over 12 weeks. We used the data to train and evaluate 6 machine learning models to predict next-day physiological and perceived stress. After selecting the best performing model, Shapley Additive Explanations were used to identify the feature importance and explainability of each feature. Results: A total of 16 pregnant women enrolled in the study. Overall, 4157.18 hours of data were collected, and participants answered 2838 EMAs. After applying feature selection, 8 and 10 features were found to positively predict next-day physiological and perceived stress, respectively. A random forest classifier performed the best in predicting next-day physiological stress (F1 score of 0.84) and next-day perceived stress (F1 score of 0.74) by using all features. Although any subset of sensor-based, EMA-based, or intervention-based features could reliably predict next-day physiological stress, EMA-based features were necessary to predict next-day perceived stress. The analysis of explainability metrics showed that the prolonged duration of physiological stress was highly predictive of next-day physiological stress and that physiological stress and perceived stress were temporally divergent. Conclusions: In this study, we were able to build interpretable machine learning models to predict next-day physiological and perceived stress, and we identified unique features that were highly predictive of next-day stress that can help to reduce the burden of data collection.Keywords
This publication has 60 references indexed in Scilit:
- Mindfulness yoga during pregnancy for psychiatrically at-risk women: Preliminary results from a pilot feasibility studyComplementary Therapies in Clinical Practice, 2012
- The Efficacy of Cognitive Behavioral Therapy: A Review of Meta-analysesCognitive Therapy and Research, 2012
- The Limerick Lullaby project: An intervention to relieve prenatal stressMidwifery, 2012
- Maternal mental health in pregnancy and child behaviorIndian Journal of Psychiatry, 2011
- Community Attitudes to the Appropriation of Mobile Phones for Monitoring and Managing Depression, Anxiety, and StressJournal of Medical Internet Research, 2010
- Ecological momentary interventions: Incorporating mobile technology into psychosocial and health behaviour treatmentsBritish Journal of Health Psychology, 2010
- Mindfulness-Based Childbirth and Parenting Education: Promoting Family Mindfulness During the Perinatal PeriodJournal of Child and Family Studies, 2009
- The Effects of Mindfulness-Based Yoga During Pregnancy on Maternal Psychological and Physical DistressJournal of Obstetric, Gynecologic, & Neonatal Nursing, 2009
- Maternal distress and congenital malformations: do mothers of malformed fetuses have more problems?Journal of Psychiatric Research, 1999
- An Approach to Artifact Identification: Application to Heart Period DataPsychophysiology, 1990