Coder Social home page Coder Social logo

hlacikd / ecg-arrhythmia-classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ankur219/ecg-arrhythmia-classification

0.0 1.0 0.0 38 KB

ECG arrhythmia classification using a 2-D convolutional neural network

Python 93.49% HTML 6.51%

ecg-arrhythmia-classification's Introduction

ECG-Arrhythmia-classification

ECG arrhythmia classification using a 2-D convolutional neural network

This repository is an implementation of the paper ECG arrhythmia classification using a 2-D convolutional neural network in which we classify ECG into seven categories, one being normal and the other six being different types of arrhythmia using deep two-dimensional CNN with grayscale ECG images. By transforming one-dimensional ECG signals into two-dimensional ECG images, noise filtering and feature extraction are no longer required. This is important since some of ECG beats are ignored in noise filtering and feature extraction. In addition, training data can be enlarged by augmenting the ECG images which results in higher classification accuracy. Data augmentation is hard to be applied in 1-d signals since the distortion of 1-d ECG signal could downgrade the performance of the classifier. However, augmenting two-dimensional ECG images with different cropping methods helps the CNN model to train with different viewpoints of the single ECG images. Using ECG image as an input data of the ECG arrhythmia classification also benefits in the sense of robustness.

METHOD

alt text

MODEL

Here is the link to the model: Link

Deploying the model

  1. Clone my repository.
  2. Clone this repository.
  3. Download the weights.
  4. Replace app.py in the other repository you have downloaded with the app.py from my repository.
  5. Replace index.html as well that is present in the other repository with the index.html that is provided in my repo. If you face any other problem related to deploying you can check this repository.

The model works only if your data is similar to sample.csv

Here is a screenshot of the app from my system

alt text

Medium Blog

You can find all the procedures regarding training your own model and other details of this project on my Medium post.

ecg-arrhythmia-classification's People

Contributors

ankur219 avatar

Watchers

James Cloos avatar

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.