Skip to main content

A python package for explainable sleep staging via deep learning

Project description

PhysioEx Logo

PhysioEx

Python Version PyPI Version

PhysioEx ( Physiological Signal Explainer ) is a versatile python library tailored for building, training, and explaining deep learning models for physiological signal analysis.

The main purpose of the library is to propose a standard and fast methodology to train and evalutate state-of-the-art deep learning architectures for physiological signal analysis, to shift the attention from the architecture building task to the explainability task.

With PhysioEx you can simulate a state-of-the-art experiment just running the train, test_model and finetune commands; evaluating and saving the trained model; and start focusing on the explainability task!

Supported deep learning architectures

  • Chambon2018 model for sleep stage classification ( raw time series as input).
  • TinySleepNet model for sleep stage classification (raw time series as input).
  • SeqSleepNet model for sleep stage classification (time-frequency images as input).

Supported datasets

For the public available datasets ( DCSM, HMC ) PhysioEx takes care of automatically download the data thanks to the preprocess command. The other datasets needs to be acquired first ( mostly on NSSR ) and then fetched by PhysioEx via the preprocess command.

Installation guidelines

  1. Clone the Repository:
   git clone https://github.com/guidogagl/physioex.git
   cd physioex
  1. Create a Virtual Environment (Optional but Recommended)
    conda create -n physioex python==3.10
    conda activate physioex
    conda install pip
    pip install --upgrade pip  # On Windows, use `venv\Scripts\activate`
  1. Install Dependencies and Package in Development Mode
    pip install -e .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

physioex-1.0.0.dev1.tar.gz (76.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

physioex-1.0.0.dev1-py3-none-any.whl (68.2 MB view details)

Uploaded Python 3

File details

Details for the file physioex-1.0.0.dev1.tar.gz.

File metadata

  • Download URL: physioex-1.0.0.dev1.tar.gz
  • Upload date:
  • Size: 76.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for physioex-1.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 732d194f1d499ff3444d64751f4b1f3c5ef1934bf7fe37b153dc413f272d975a
MD5 055eb116b5d247b07b259726cb20b465
BLAKE2b-256 98768633f919591bd0166161172dce13bd6d09692ca19d628957e7c153d05505

See more details on using hashes here.

File details

Details for the file physioex-1.0.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: physioex-1.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 68.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for physioex-1.0.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 3851295218bb7c630a510153a3ccf25dc3cf9925357d14ec468861d4ea4ebab7
MD5 5eac9a7ef7f3879017d9c86433b2c766
BLAKE2b-256 492c255afb030ef57ed63084979d355ae827ed1c3ad05ff7a0c60f3da497016a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page