Skip to content

Convolutional neural network which uses 30 second single-channel EEG signals to detect apnea events

License

Notifications You must be signed in to change notification settings

yunusozen/sleep-apnea

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sleep-apnea

Convolutional neural network which takes as input 30 second single-channel EEG signals and produces as output a sleep stage classification. Possible classifications are N1, N2, N3, REM, and W (awake). Includes implementation, validation, and example trained model.

Requirements

  • Python 3.5-3.8 installed (for tensorflow compatibility)
  • Training data from Physionet. Store the data in the project folder data/mit-bih-polysomnographic-database-1.0.0.

Setup

This project is best set up in a virtual environment to isolate package and language versions.

In the terminal, navigate into the project directory and create a new virtual environment using a compatible (3.5-3.8) version of Python:

python3.8 -m venv env

Activate virtual environment:

source env/bin/activate

Install required packages:

python -m pip install -r requirements.txt

About

Convolutional neural network which uses 30 second single-channel EEG signals to detect apnea events

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%