PhysioEx, a new Python library for explainable sleep staging through deep learning.

IF 2.3 4区 医学 Q3 BIOPHYSICS Physiological measurement Pub Date : 2025-01-28 DOI:10.1088/1361-6579/adaf73
Guido Gagliardi, Luca Alfeo, Mario G C A Cimino, Gaetano Valenza, Maarten De Vos
{"title":"PhysioEx, a new Python library for explainable sleep staging through deep learning.","authors":"Guido Gagliardi, Luca Alfeo, Mario G C A Cimino, Gaetano Valenza, Maarten De Vos","doi":"10.1088/1361-6579/adaf73","DOIUrl":null,"url":null,"abstract":"<p><strong>Objective: </strong>&#xD;Sleep staging is a crucial task in clinical and research contexts for diagnosing and understanding sleep disorders. This work introduces PhysioEx, a Python library designed to support the analysis of sleep stages using deep learning and Explainable AI (XAI). &#xD;&#xD;Approach:&#xD;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 (SHHS) 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. &#xD;&#xD;Main results:&#xD;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 deep learning-based sleep staging by linking model decisions to human-understandable concepts, such as AASM-defined rules. &#xD;&#xD;Significance:&#xD;PhysioEx addresses the need for a standardized and accessible platform for sleep staging analysis, combining deep learning 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, 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-01-28","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}
引用次数: 0

Abstract

Objective: Sleep staging is a crucial task in clinical and research contexts for diagnosing and understanding sleep disorders. This work introduces PhysioEx, a Python library designed to support the analysis of sleep stages using deep learning 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 (SHHS) 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 deep learning-based sleep staging by linking model decisions to human-understandable concepts, such as AASM-defined rules. Significance: PhysioEx addresses the need for a standardized and accessible platform for sleep staging analysis, combining deep learning 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, making it a valuable tool for researchers and practitioners in sleep medicine.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
求助全文
约1分钟内获得全文 去求助
来源期刊
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.
期刊最新文献
A low-cost PPG sensor-based empirical study on healthy aging based on changes in PPG morphology. A two-branch framework for blood pressure estimation using photoplethysmography signals with deep learning and clinical prior physiological knowledge. Automated system for diagnosing pulmonary fibrosis using crackle analysis in recorded lung sounds based on iterative envelope mean fractal dimension filter. Rotating radial injection pattern for highly sensitive electrical impedance tomography of human lung anomalies. One-week test-retest stability of heart rate variability during rest and deep breathing.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1