PhysioEx,一个新的Python库,通过深度学习来解释睡眠阶段。

IF 2.3 4区 医学 Q3 BIOPHYSICS
Guido Gagliardi, Antonio Luca Alfeo, Mario G C A Cimino, Gaetano Valenza, Maarten De Vos
{"title":"PhysioEx,一个新的Python库,通过深度学习来解释睡眠阶段。","authors":"Guido Gagliardi, Antonio Luca Alfeo, Mario G C A Cimino, Gaetano Valenza, Maarten De Vos","doi":"10.1088/1361-6579/adaf73","DOIUrl":null,"url":null,"abstract":"<p><p><i>Objective.</i>Sleep staging is a crucial task in clinical and research contexts for diagnosing and understanding sleep disorders. This work introduces PhysioEx (Physiological Signal Explainer), a Python library designed to support the analysis of sleep stages using deep learning (DL) and Explainable AI (XAI).<i>Approach.</i>PhysioEx provides an extensible and modular API for standardizing and automating the sleep staging pipeline, covering data preprocessing, model training, testing, fine-tuning, and explainability. It supports both low-resource devices and high-performance computing clusters and includes pretrained models based on the Sleep Heart Health Study dataset. These models support single-channel EEG and multichannel EEG-EOG-EMG configurations and are easily adaptable to custom datasets. PhysioEx also features a command-line interface toolbox allowing users to streamline the model development and deployment. The library offers a range of XAI post-hoc methods to explain model decisions and align them with expert knowledge.<i>Main results.</i>PhysioEx benchmark state-of-the-art sleep staging models in a standard pipeline. Enabling a fair comparison between them both on the training source and out-of-domain sources. Its XAI techniques provide insights into DL-based sleep staging by linking model decisions to human-understandable concepts, such as American Academy of Sleep Medicine-defined rules.<i>Significance.</i>PhysioEx addresses the need for a standardized and accessible platform for sleep staging analysis, combining DL and XAI. By supporting modular workflows and explainable insights, it bridges the gap between machine learning models and clinical expertise. PhysioEx is publicly available and installable via pip<sup>6</sup>6https://pypi.org/project/physioex/., making it a valuable tool for researchers and practitioners in sleep medicine.</p>","PeriodicalId":20047,"journal":{"name":"Physiological measurement","volume":" ","pages":""},"PeriodicalIF":2.3000,"publicationDate":"2025-02-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"PhysioEx: a new Python library for explainable sleep staging through deep learning.\",\"authors\":\"Guido Gagliardi, Antonio Luca Alfeo, Mario G C A Cimino, Gaetano Valenza, Maarten De Vos\",\"doi\":\"10.1088/1361-6579/adaf73\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p><i>Objective.</i>Sleep staging is a crucial task in clinical and research contexts for diagnosing and understanding sleep disorders. This work introduces PhysioEx (Physiological Signal Explainer), a Python library designed to support the analysis of sleep stages using deep learning (DL) and Explainable AI (XAI).<i>Approach.</i>PhysioEx provides an extensible and modular API for standardizing and automating the sleep staging pipeline, covering data preprocessing, model training, testing, fine-tuning, and explainability. It supports both low-resource devices and high-performance computing clusters and includes pretrained models based on the Sleep Heart Health Study dataset. These models support single-channel EEG and multichannel EEG-EOG-EMG configurations and are easily adaptable to custom datasets. PhysioEx also features a command-line interface toolbox allowing users to streamline the model development and deployment. The library offers a range of XAI post-hoc methods to explain model decisions and align them with expert knowledge.<i>Main results.</i>PhysioEx benchmark state-of-the-art sleep staging models in a standard pipeline. Enabling a fair comparison between them both on the training source and out-of-domain sources. Its XAI techniques provide insights into DL-based sleep staging by linking model decisions to human-understandable concepts, such as American Academy of Sleep Medicine-defined rules.<i>Significance.</i>PhysioEx addresses the need for a standardized and accessible platform for sleep staging analysis, combining DL and XAI. By supporting modular workflows and explainable insights, it bridges the gap between machine learning models and clinical expertise. PhysioEx is publicly available and installable via pip<sup>6</sup>6https://pypi.org/project/physioex/., making it a valuable tool for researchers and practitioners in sleep medicine.</p>\",\"PeriodicalId\":20047,\"journal\":{\"name\":\"Physiological measurement\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":2.3000,\"publicationDate\":\"2025-02-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Physiological measurement\",\"FirstCategoryId\":\"5\",\"ListUrlMain\":\"https://doi.org/10.1088/1361-6579/adaf73\",\"RegionNum\":4,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"BIOPHYSICS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Physiological measurement","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.1088/1361-6579/adaf73","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"BIOPHYSICS","Score":null,"Total":0}
引用次数: 0

摘要

目的:睡眠分期是临床和研究中诊断和理解睡眠障碍的一项重要任务。这项工作介绍了PhysioEx,这是一个Python库,旨在支持使用深度学习和可解释人工智能(XAI)分析睡眠阶段。方法:PhysioEx提供了一个可扩展的模块化API,用于标准化和自动化睡眠分期管道,涵盖数据预处理、模型训练、测试、微调和可解释性。它支持低资源设备和高性能计算集群,并包括基于睡眠心脏健康研究(SHHS)数据集的预训练模型。这些模型支持单通道EEG和多通道EEG- EEG- emg配置,并且很容易适应自定义数据集。PhysioEx还具有命令行界面工具箱,允许用户简化模型开发和部署。该库提供了一系列XAI事后方法来解释模型决策并使它们与专家知识保持一致。 ;主要结果: ;PhysioEx在标准管道中测试了最先进的睡眠分期模型。允许在训练源和域外源之间进行公平的比较。它的XAI技术通过将模型决策与人类可理解的概念(如aasm定义的规则)联系起来,为基于深度学习的睡眠阶段提供了见解。 ;意义: ;PhysioEx结合深度学习和XAI,满足了对睡眠分期分析的标准化和可访问平台的需求。通过支持模块化工作流程和可解释的见解,它弥合了机器学习模型和临床专业知识之间的差距。PhysioEx是公开的,可以通过pip安装,使其成为睡眠医学研究人员和从业者的宝贵工具。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
PhysioEx: a new Python library for explainable sleep staging through deep learning.

Objective.Sleep staging is a crucial task in clinical and research contexts for diagnosing and understanding sleep disorders. This work introduces PhysioEx (Physiological Signal Explainer), a Python library designed to support the analysis of sleep stages using deep learning (DL) and Explainable AI (XAI).Approach.PhysioEx provides an extensible and modular API for standardizing and automating the sleep staging pipeline, covering data preprocessing, model training, testing, fine-tuning, and explainability. It supports both low-resource devices and high-performance computing clusters and includes pretrained models based on the Sleep Heart Health Study dataset. These models support single-channel EEG and multichannel EEG-EOG-EMG configurations and are easily adaptable to custom datasets. PhysioEx also features a command-line interface toolbox allowing users to streamline the model development and deployment. The library offers a range of XAI post-hoc methods to explain model decisions and align them with expert knowledge.Main results.PhysioEx benchmark state-of-the-art sleep staging models in a standard pipeline. Enabling a fair comparison between them both on the training source and out-of-domain sources. Its XAI techniques provide insights into DL-based sleep staging by linking model decisions to human-understandable concepts, such as American Academy of Sleep Medicine-defined rules.Significance.PhysioEx addresses the need for a standardized and accessible platform for sleep staging analysis, combining DL and XAI. By supporting modular workflows and explainable insights, it bridges the gap between machine learning models and clinical expertise. PhysioEx is publicly available and installable via pip66https://pypi.org/project/physioex/., making it a valuable tool for researchers and practitioners in sleep medicine.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Physiological measurement
Physiological measurement 生物-工程:生物医学
CiteScore
5.50
自引率
9.40%
发文量
124
审稿时长
3 months
期刊介绍: Physiological Measurement publishes papers about the quantitative assessment and visualization of physiological function in clinical research and practice, with an emphasis on the development of new methods of measurement and their validation. Papers are published on topics including: applied physiology in illness and health electrical bioimpedance, optical and acoustic measurement techniques advanced methods of time series and other data analysis biomedical and clinical engineering in-patient and ambulatory monitoring point-of-care technologies novel clinical measurements of cardiovascular, neurological, and musculoskeletal systems. measurements in molecular, cellular and organ physiology and electrophysiology physiological modeling and simulation novel biomedical sensors, instruments, devices and systems measurement standards and guidelines.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信