PhysioEx: a new Python']Python library for explainable sleep staging through deep learning

被引:0
作者
Gagliardi, Guido [1 ,2 ,3 ]
Luca Alfeo, Antonio [1 ,4 ]
Cimino, Mario G. C. A. [1 ,4 ]
Valenza, Gaetano [1 ,4 ]
De Vos, Maarten [2 ,5 ]
机构
[1] Univ Pisa, Dept Informat Engn, Pisa, Italy
[2] Katholieke Univ Leuven, Dept Elect Engn, Leuven, Belgium
[3] Univ Florence, Dept Informat Engn, Florence, Italy
[4] Univ Pisa, Bioengn & Robot Res Ctr E Piaggio, Sch Engn, Pisa, Italy
[5] Katholieke Univ Leuven, Dept Dev & Regenerat, Leuven, Belgium
关键词
EEG; sleep staging; explainable artificial intelligence; deep learning; RESEARCH RESOURCE; CLASSIFICATION; IMAGE;
D O I
10.1088/1361-6579/adaf73
中图分类号
Q6 [生物物理学];
学科分类号
071011 ;
摘要
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.
引用
收藏
页数:19
相关论文
共 50 条
  • [1] VERONA: A python']python library for benchmarking deep learning in business process monitoring
    Gamallo-Fernandez, Pedro
    Rama-Maneiro, Efren
    Vidal, Juan C.
    Lama, Manuel
    SOFTWAREX, 2024, 26
  • [2] Sleep: An Open-Source Python']Python Software for Visualization, Analysis, and Staging of Sleep Data
    Combrisson, Etienne
    Vallat, Raphael
    Eichenlaub, Jean-Baptiste
    O'Reilly, Christian
    Lajnef, Tarek
    Guillot, Aymeric
    Ruby, Perrine M.
    Jerbi, Karim
    FRONTIERS IN NEUROINFORMATICS, 2017, 11
  • [3] pyDML: A Python']Python Library for Distance Metric Learning
    Luis Suarez, Juan
    Garcia, Salvador
    Herrera, Francisco
    JOURNAL OF MACHINE LEARNING RESEARCH, 2020, 21
  • [4] Python']Python-Microscope - a new open-source Python']Python library for the control of microscopes
    Pinto, David Miguel Susano
    Phillips, Mick A.
    Hall, Nicholas
    Mateos-Langerak, Julio
    Stoychev, Danail
    Pinto, Tiago Susano
    Booth, Martin J.
    Davis, Ilan
    Dobbie, Ian M.
    JOURNAL OF CELL SCIENCE, 2021, 134 (19)
  • [5] Machine learning, deep learning and Python']Python language in field of geology
    Zhou YongZhang
    Wang Jun
    Zuo RenGuang
    Xiao Fan
    Shen WenJie
    Wang ShuGong
    ACTA PETROLOGICA SINICA, 2018, 34 (11) : 3173 - 3178
  • [6] Biotite: new tools for a versatile Python']Python bioinformatics library
    Kunzmann, Patrick
    Mueller, Tom David
    Greil, Maximilian
    Krumbach, Jan Hendrik
    Anter, Jacob Marcel
    Bauer, Daniel
    Islam, Faisal
    Hamacher, Kay
    BMC BIOINFORMATICS, 2023, 24 (01)
  • [7] DeepOnto: A Python']Python package for ontology engineering with deep learning
    He, Yuan
    Chen, Jiaoyan
    Dong, Hang
    Horrocks, Ian
    Allocca, Carlo
    Kim, Taehun
    Sapkota, Brahmananda
    SEMANTIC WEB, 2024, 15 (05) : 1991 - 2004
  • [8] Scikit-Weak: A Python']Python Library for Weakly Supervised Machine Learning
    Campagner, Andrea
    Lienen, Julian
    Huellermeier, Eyke
    Ciucci, Davide
    ROUGH SETS, IJCRS 2022, 2022, 13633 : 57 - 70
  • [9] TSFEDL: A python']python library for time series spatio-temporal feature extraction and prediction using deep learning
    Aguilera-Martos, Ignacio
    Garcia-Vico, Angel M.
    Luengo, Julian
    Damas, Sergio
    Melero, Francisco J.
    Javier Valle-Alonso, Jose
    Herrera, Francisco
    NEUROCOMPUTING, 2023, 517 : 223 - 228
  • [10] VUDENC: Vulnerability Detection with Deep Learning on a Natural Codebase for Python']Python
    Wartschinski, Laura
    Noller, Yannic
    Vogel, Thomas
    Kehrer, Timo
    Grunske, Lars
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 144