Comparative Analysis of Deep Learning and Traditional Machine Learning Models for Arrhythmia Classification using ECG Signals
Abstract
Arrhythmias, a form of cardiovascular disease, are a major contributor to the high global mortality rate. Early detection of arrhythmias through electrocardiogram (ECG) analysis can significantly improve patient outcomes. This study investigates the application of var- ious machine learning (ML) and deep learning models for the classification of arrhythmias using ECG signals from the MIT-BIH Arrhythmia Dataset. The models evaluated include Random Forest, Support Vector Machines (SVM), Logistic Regression, Multilayer Perceptron (MLP), and Convolutional Neural Networks (CNN). Additionally, feature selection techniques, such as the Fourier Transform, were applied to enhance the performance of the ML models. Among the models tested, the CNN achieved the highest accuracy (89.29%), F1 score (85.69%), and AUC (87.98%), demonstrating its superior ability in accurately detecting arrhythmias. In contrast, traditional ML models, including Random Forest and SVM, showed moderate performance with lower accuracy and discriminatory power. The study highlights the potential of CNN-based architectures for automated ECG analysis and emphasizes the importance of integrating explainable AI techniques to increase the transparency and clinical adoption of deep learning models. Future research could focus on larger, more diverse datasets and the use of Recurrent Neural Networks (RNNs) for longer ECG recordings to improve classification performance further.
Downloads
Published
Data Availability Statement
The data used for this research can be found at https://www.physionet.org/content/mitdb/1.0.0/
Issue
Section
License
Copyright (c) 2025 Intersect: The Stanford Journal of Science, Technology, and Society

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who publish with this journal agree to the following terms:- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).