Das Jyotirmoy Nirupam, Ji Linying, Shen Yuqi, Kumara Soundar, Buxton Orfeu M, Chow Sy-Miin
Harold and Inge Marcus Department of Industrial and Manufacturing Engineering, The Pennsylvania State University, University Park, Pennsylvania, USA.
Department of Psychology, Montana State University, Bozeman, Montana, USA.
Sleep Health. 2025 Apr;11(2):166-173. doi: 10.1016/j.sleh.2024.10.003. Epub 2025 Jan 9.
One challenge using wearable sensors is nonwear time. Without a nonwear (e.g., capacitive) sensor, actigraphy data quality can be biased by subjective determinations confounding sleep/wake classification. We developed and evaluated a machine learning algorithm supplemented by dynamic features to discern wear/nonwear episodes.
Actigraphy data from wrist actigraph (Spectrum, Philips-Respironics).
The built-in nonwear sensor as "ground truth" to classify nonwear periods using other data, mimicking features of Actiwatch 2.
Data were collected over 1week from employed adults (n = 853).
Extreme gradient boosting (XGBoost), a tree-based classifier algorithm, was used to classify wear/nonwear, supplemented by dynamic features calculated over various time windows.
The performance of the proposed algorithm was tested over 30-second epochs. Additional analytics and exploratory analyses: Evaluation of the SHapley Additive exPlanations (SHAP) values to find the effectiveness of the dynamic features.
The XGBoost classifier yielded substantial improvements in balanced accuracy, sensitivity, and specificity, including dynamic features and comparison to default actiwatch classification algorithms.
The proposed classifier effectively distinguished between valid and invalid days, and the duration of contiguous periods of nonwear correctly identified.
Our findings highlight the potential of XGBoost using dynamic features of varying activity levels across the time series to provide insights on wear/nonwear classification using a large dataset. The methodology provides an alternative to laborious manual benchmarking of the data for similar devices that do not have a nonwear sensor.
使用可穿戴传感器面临的一个挑战是未佩戴时间。如果没有未佩戴(如电容式)传感器,活动记录仪数据质量可能会因混淆睡眠/清醒分类的主观判断而产生偏差。我们开发并评估了一种辅以动态特征的机器学习算法,以辨别佩戴/未佩戴时段。
来自腕部活动记录仪(飞利浦伟康公司的Spectrum)的活动记录仪数据。
将内置的未佩戴传感器作为“地面真值”,利用其他数据对未佩戴时段进行分类,模拟Actiwatch 2的特征。
从在职成年人(n = 853)中收集了为期1周的数据。
采用基于树的分类器算法极限梯度提升(XGBoost)对佩戴/未佩戴进行分类,并辅以在不同时间窗口计算的动态特征。
在30秒的时间间隔上测试所提出算法的性能。额外分析和探索性分析:评估SHapley加性解释(SHAP)值,以确定动态特征的有效性。
XGBoost分类器在平衡准确率、灵敏度和特异性方面有显著提高,包括动态特征以及与默认的活动记录仪分类算法的比较。
所提出的分类器有效地区分了有效日和无效日,并正确识别了连续未佩戴时段的持续时间。
我们的研究结果突出了XGBoost利用时间序列中不同活动水平的动态特征,通过大型数据集对佩戴/未佩戴分类提供见解的潜力。该方法为没有未佩戴传感器的类似设备提供了一种替代费力的数据手动基准测试的方法。