Coder Social home page Coder Social logo

arminshoughi / ecg-classification-cnn Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 15 KB

Automatic ECG classification using discrete wavelet transform and one-dimensional convolutional neural network

Home Page: https://link.springer.com/article/10.1007/s00607-023-01243-0

License: MIT License

Python 42.46% MATLAB 57.54%
cardiovascular-diseases cnn convolutional-neural-networks electrocardiogram mit physio-bank-mit-bih-arrhythmia-database

ecg-classification-cnn's Introduction

ECG Signal Classification with Deep Learning

Overview

Welcome to the repository for the implementation of our paper on accurate Electrocardiogram (ECG) signal classification using deep learning. ECG signals play a vital role in providing crucial cardiovascular information for medical practitioners. Manual analysis of these signals is intricate and time-consuming, requiring specific skills. The challenges posed by noise, signal rigidity, and irregular heartbeats make it essential to employ advanced techniques for accurate classification.

Approach

Our approach leverages a Convolutional Neural Network (CNN), discrete wavelet transformation with db2 mother wavelet, and the Synthetic Minority Over-sampling Technique (SMOTE). We applied this methodology to the MIT-BIH dataset, adhering to the Association for the Advancement of Medical Instrumentation (AAMI) standards. The aim is to enhance the accuracy of ECG signal classifications, particularly for cardiovascular diseases (CVDs), a leading global cause of mortality.

Results

After training for 50 epochs, with each epoch taking 39 seconds, our approach achieved remarkable accuracy:

  • Category F: 99.71%
  • Category N: 98.69%
  • Category S: 99.45%
  • Category V: 99.33%
  • Category Q: 99.82%

These results demonstrate the effectiveness of our model in accurately classifying ECG signals, making it a potential clinical auxiliary diagnostic tool.

Usage

To use the code, clone the repository:

git clone https://gitlab.com/arminshoughi/ecg-classification-cnn
cd ecg-classification-cnn
pip install -r requirements.txt
python EcgClassification.py

Follow the installation steps and guidelines in the codebase to replicate our experiments and apply the model to your own datasets.

Evaluation

For a detailed understanding of our methodology and evaluation results, please refer to our published paper. The complete article is available here.

Contact

For any inquiries or collaboration opportunities, feel free to contact the project maintainer, Armin Shoughi, via the repository issues.

Thank you for your interest in our work!

ecg-classification-cnn's People

Contributors

arminshoughi avatar

Watchers

 avatar

Forkers

sanshinian1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.