Skip to content

ECG Classification, Continuous Wavelet Transform, CWT, Convolutional Neural Network, CNN, Arrhythmia, Heartbeat classification

Notifications You must be signed in to change notification settings

fpp123/ECG-Classification-Using-CNN-and-CWT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for: Automatic ECG Classification Using Convolutional Neural Network and Continuous Wavelet Transform

Dataset

MIT-BIH Arrhythmia database

Usage

  • Reproduce the results

A pre-trained model is provided in the model directory. To reproduce our results, you should, first, download the MIT-BIH arrhythmia database from the above link and save it in the dataset directory. Then, execute preprocessing.py to obtain the training and test dataset. After that, just run pre-training.py and you will get the results of our paper.

  • Re-train the model

Just replace the last step of run pre-training.py with main.py.

Our CNN is implemented using PyTorch v1.4.0 and trained on the NVIDIA GeForce RTX 2080Ti graphical processing unit. Noted that different versions of PyTorch and CUDA may cause the results to be slightly different from the results in the article.

Cite

The paper is submitted to the journal for review.

Email:

If you have any questions, please email to: wtustc@mail.ustc.edu.cn

About

ECG Classification, Continuous Wavelet Transform, CWT, Convolutional Neural Network, CNN, Arrhythmia, Heartbeat classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%