Skip to content

Classification of ECG signals from the MIT-BIH dataset using ResNet, Neural ODE, and Deep Equilibrium Network

License

Notifications You must be signed in to change notification settings

KevinyWu/ecg-neural-ode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECG Classification with Deep Implicit Layers

neural_ode

Data Preprocessing

Data comes from the MIT-BIH database and is prepared by this project: GitHub.

  1. Download train data: link
  2. Download test data: link
  3. Put them in data/

Model Training and Evaluation

There are three models with a similar number of trainable parameters:

  1. 1-block ResNet
  2. Neural ODE
  3. Deep Equilibrium Network

Simply run the Jupyter Notebook ecg.ipynb. Model training will take a while for the Neural ODE and DEQ models.

Requirements

numpy
pandas
scikit-learn
pytorch
torchinfo
torchdiffeq

File Tree

python_experiments
│   ecg.ipynb - Notebook for training and testing models 
│   models.py - Model functions
│   utils.py - Other helper functions
└───data
        mitdb_360_test.csv - Training data
        mitdb_360_train.csv - Test data

About

Classification of ECG signals from the MIT-BIH dataset using ResNet, Neural ODE, and Deep Equilibrium Network

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published