MARATTO

article · Computers

Efficient Deep Learning Models Integrated with a Smart Web Application for Classifying Heart Diseases Based on ECG Signals

2026Open accessSinai University

Abstract

Recent advancements in the accuracy of deep learning (DL) hold significant promise for improving the classification of heart patients. Nevertheless, continued refinement is essential to achieve even greater levels of precision in DL techniques. This paper proposes three efficient DL models: Swin Transformer (Swin-T), Visual Geometry Group (VGG)-19, and Vision Transformer (ViT), which are implemented to classify different types of heart patients. The three DL models are learned on a balanced dataset comprising 600 electrocardiogram (ECG) samples. This dataset contains three classes: Arrhythmia Patient, Myocardic Patient, and Normal Patient. The DL models are applied using a PyTorch framework v2.10.0, with fine-tuning for the models’ hyperparameters to maximize the classification accuracy, and data augmentation techniques are implemented for the ECG samples. Additionally, a smart web application is designed for classifying heart patients into three different diagnostic categories. The performance of the three models is assessed by several metrics such as area under precision-recall (AUPR) curves and normalized confusion matrices (NCMs). The proposed three models achieve high testing accuracy for the classification of heart patients. Regarding testing loss (TL) rates for the Swin-T, VGG-19, and ViT achieve rates of 0.0707, 0.4138, and 0.0015, respectively. Also, the ViT achieves an F1-score, true positive rate (TPR), and AUPR curves of 100%.

Research topics

  • ECG Monitoring and Analysis
  • Artificial Intelligence in Healthcare
  • COVID-19 diagnosis using AI

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.3390/computers15030191

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.