Background: Insomnia, eating disorders, heart problems and even strokes are just some of the illnesses that reveal the negative impact of stress overload on health and well-being. Early detection of stress is therefore of utmost importance. Whereas the gold-standard for detecting stress is by means of questionnaires, more recent work uses wearable sensors to find continuous and qualitative physical markers of stress. As some physiological stress responses, e.g. increased heart rate or sweating and chills, might also occur when doing sports, a more profound approach is needed for stress detection than purely considering physiological data. Methods: In this paper, we analyse the added value of context information during stress detection from wearable data. We do so by comparing the performance of models trained purely on physiological data and models trained on physiological and context data. We consider the user’s activity and hours of sleep as context information, where we compare the influence of user-given context versus machine learning derived context. Results: Context-aware models reach higher accuracy and lower standard deviations in comparison to the baseline (physiological) models. We also observe higher accuracy and improved weighted F1 score when incorporating machine learning predicted, instead of user-given, activities as context information. Conclusions: In this paper we show that considering context information when performing stress detection from wearables leads to better performance. We also show that it is possible to move away from human labeling and rely only on the wearables for both physiology and context.
4 January 2022 in Data Mining and Knowledge Discovery
Background: The diagnosis of headache disorders relies on the correct classification of individual headache attacks. Currently, this is mainly done by clinicians in a clinical setting, which is dependent on subjective self-reported input from patients. Existing classification apps also rely on self-reported information and lack validation. Therefore, the exploratory mBrain study investigates moving to continuous, semi-autonomous and objective follow-up and classification based on both self-reported and objective physiological and contextual data. Methods: The data collection set-up of the observational, longitudinal mBrain study involved physiological data from the Empatica E4 wearable, data-driven machine learning (ML) algorithms detecting activity, stress and sleep events from the wearables’ data modalities, and a custom-made application to interact with these events and keep a diary of contextual and headache-specific data. A knowledge-based classification system for individual headache attacks was designed, focusing on migraine, cluster headache (CH) and tension-type headache (TTH) attacks, by using the classification criteria of ICHD-3. To show how headache and physiological data can be linked, a basic knowledge-based system for headache trigger detection is presented. Results: In two waves, 14 migraine and 4 CH patients participated (mean duration 22.3 days). 133 headache attacks were registered (98 by migraine, 35 by CH patients). Strictly applying ICHD-3 criteria leads to 8/98 migraine without aura and 0/35 CH classifications. Adapted versions yield 28/98 migraine without aura and 17/35 CH classifications, with 12/18 participants having mostly diagnosis classifications when episodic TTH classifications (57/98 and 32/35) are ignored. Conclusions: Strictly applying the ICHD-3 criteria on individual attacks does not yield good classification results. Adapted versions yield better results, with the mostly classified phenotype (migraine without aura vs. CH) matching the diagnosis for 12/18 patients. The absolute number of migraine without aura and CH classifications is, however, rather low. Example cases can be identified where activity and stress events explain patient-reported headache triggers. Continuous improvement of the data collection protocol, ML algorithms, and headache classification criteria (including the investigation of integrating physiological data), will further improve future headache follow-up, classification and trigger detection. Trial registration This trial was retrospectively registered with number NCT04949204 on 24 June 2021 at www.clinicaltrials.gov.