Git Product home page Git Product logo

mkfzdmr / covid-19-ecg-classification Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 5.0 359.61 MB

This repository contains the source codes of the article published to detect changes in ECG caused by COVID-19 and automatically diagnose COVID-19 from ECG data.

License: MIT License

MATLAB 81.95% Python 18.05%
covid-19 covid19 covid covid19-data covid-19-data coronavirus corona ecg ecg-classification ecg-signal

covid-19-ecg-classification's Introduction

Classification of COVID-19 electrocardiograms by using hexaxial feature mapping and deep learning

Ozdemir, M. A. et al. (2021). Classification of COVID-19 electrocardiograms by using hexaxial feature mapping and deep learning, BMC Medical Informatics and Decision Making.

Figure 1

Abstract
Background

Coronavirus disease 2019 (COVID-19) has become a pandemic since its first appearance in late 2019. Deaths caused by COVID-19 are still increasing day by day and early diagnosis has become crucial. Since current diagnostic methods have many disadvantages, new investigations are needed to improve the performance of diagnosis.

Methods

A novel method is proposed to automatically diagnose COVID-19 by using Electrocardiogram (ECG) data with deep learning for the first time. Moreover, a new and effective method called hexaxial feature mapping is proposed to represent 12-lead ECG to 2D colorful images. Gray-Level Co-Occurrence Matrix (GLCM) method is used to extract features and generate hexaxial mapping images. These generated images are then fed into a new Convolutional Neural Network (CNN) architecture to diagnose COVID-19.

Results

Two different classification scenarios are conducted on a publicly available paper-based ECG image dataset to reveal the diagnostic capability and performance of the proposed approach. In the first scenario, ECG data labeled as COVID-19 and No-Findings (normal) are classified to evaluate COVID-19 classification ability. According to results, the proposed approach provides encouraging COVID-19 detection performance with an accuracy of 96.20% and F1-Score of 96.30%. In the second scenario, ECG data labeled as Negative (normal, abnormal, and myocardial infarction) and Positive (COVID-19) are classified to evaluate COVID-19 diagnostic ability. The experimental results demonstrated that the proposed approach provides satisfactory COVID-19 prediction performance with an accuracy of 93.00% and F1-Score of 93.20%. Furthermore, different experimental studies are conducted to evaluate the robustness of the proposed approach.

Conclusion

Automatic detection of cardiovascular changes caused by COVID-19 can be possible with a deep learning framework through ECG data. This not only proves the presence of cardiovascular changes caused by COVID-19 but also reveals that ECG can potentially be used in the diagnosis of COVID-19. We believe the proposed study may provide a crucial decision-making system for healthcare professionals.

Keywords: COVID-19, ECG, Paper-based ECG, GLCM, Hexaxial mapping, Deep learning, Convolutional neural network, Diagnosis

Content

This repository is built on 2 main structures.

First Part: Generating Hexaxial Mapping Images

Second Part: Building Deep Network and Training

First of all, it is necessary to move the hexaxial feature map images or 2D ECG images obtained in the first step (whichever is desired to be trained) to the relevant dataset file in the covid_ECG_training folder.

Figure 8

DOI

https://doi.org/10.1186/s12911-021-01521-x

Web Site

https://bmcmedinformdecismak.biomedcentral.com/articles/10.1186/s12911-021-01521-x

Citation

Citation is now available. Please cite us by following;

Ozdemir, M.A., Ozdemir, G.D. & Guren, O. Classification of COVID-19 electrocardiograms by using hexaxial feature mapping and deep learning. BMC Med Inform Decis Mak 21, 170 (2021). https://doi.org/10.1186/s12911-021-01521-x

@article{ozdemir2021covidECG,
  title={Classification of COVID-19 electrocardiograms by using hexaxial feature mapping and deep learning},
  author={Ozdemir, Mehmet Akif and Ozdemir, Gizem Dilara and Guren, Onan},
  journal={BMC Medical Informatics and Decision Making},
  volume={21},
  number={1},
  pages={1--20},
  year={2021},
  doi={10.1186/s12911-021-01521-x},
  url={https://doi.org/10.1186/s12911-021-01521-x},
  publisher={BioMed Central}
}

Cite from Endnote Cite from BiomedCentral or Cite from Google Scholar

Additional Information

Peer Review History

Altmetric

PubMed ID:34034715

Contact

If you need any help, feel free to start an issue (preferred because other people can benefit) or send me an email: [email protected]

covid-19-ecg-classification's People

Contributors

mkfzdmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

covid-19-ecg-classification's Issues

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.