用机器学习自动清理睡眠脑电图中的干扰信号,提升分析准确率
eegFloss: A Python package for refining sleep EEG recordings using machine learning models
- 基于机器学习模型eegUsability识别脑电信号中的干扰段
- 在15人127夜数据上实现94%的干扰检测召回率
- 适合睡眠研究、神经科学领域做自动化分析的科研人员
脑电图(EEG)是睡眠研究的核心工具,但易受设备与环境因素干扰,影响睡眠分期准确性。本文提出开源Python工具包eegFloss,集成新模型eegUsability,可自动检测睡眠EEG中的干扰段。该模型基于15名参与者共127个夜晚的Zmax头戴设备采集数据训练,经人工标注验证,整体分类性能优异(F1-score约0.85,Cohen's kappa为0.78),通道级可用数据识别召回率达约94%,且适用于非Zmax设备。eegFloss还提供自动入睡时间检测(基于eegMobility模型)、干扰过滤、生成睡眠图谱及统计报告等功能。该工具能显著提升大规模睡眠研究的数据精度与分析可靠性。
原文摘要 · Abstract (English)
Electroencephalography (EEG) allows monitoring of brain activity, providing insights into the functional dynamics of various brain regions and their roles in cognitive processes. EEG is a cornerstone in sleep research, serving as the primary modality of polysomnography, the gold standard in the field. However, EEG signals are prone to artifacts caused by both internal (device-specific) factors and external (environmental) interferences. As sleep studies are becoming larger, most rely on automatic sleep staging, a process highly susceptible to artifacts, leading to erroneous sleep scores. This paper addresses this challenge by introducing eegFloss, an open-source Python package to utilize eegUsability, a novel machine learning (ML) model designed to detect segments with artifacts in sleep EEG recordings. eegUsability has been trained and evaluated on manually artifact-labeled EEG data collected from 15 participants over 127 nights using the Zmax headband. It demonstrates solid overall classification performance (F1-score is approximately 0.85, Cohens kappa is 0.78), achieving a high recall rate of approximately 94% in identifying channel-wise usable EEG data, and extends beyond Zmax. Additionally, eegFloss offers features such as automatic time-in-bed detection using another ML model named eegMobility, filtering out certain artifacts, and generating hypnograms and sleep statistics. By addressing a fundamental challenge faced by most sleep studies, eegFloss can enhance the precision and rigor of their analysis as well as the accuracy and reliability of their outcomes.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。