Sinkron : Jurnal dan Penelitian Teknik Informatika
Vol. 9 No. 2 (2025): Research Articles April 2025

ECG-Based Arrhythmia Classification in Students Using Random Forest: A Case Study with Class Imbalance Analysis

Adya Zizwan Putra (Unknown)
Sitorus, Ariyanto (Unknown)
Simanjuntak, Paulus Anggiat Ruben (Unknown)
Mega Cristin Angelina. H. (Unknown)
Situmorang, Kevin Agustino (Unknown)



Article Info

Publish Date
02 Jun 2025

Abstract

Arrhythmia is a heart rhythm disorder that can indicate a student’s heart health status. This research aims to develop a Random Forest model to classify arrhythmia in students based on ECG signals. ECG data was collected from 100 students at SMK Swasta Teladan Sumatera Utara 2 after learning activities. The extracted signal features include RR interval, PR interval, QRS duration, QT interval, ST segment, beats per minute (BPM) and R/S ratio. Data labeling was carried out manually by the researchers based on the range of ECG feature values that had been determined by the doctor for each class: Normal, Abnormal, Potential Arrhythmia and Very Potential Arrhythmia. The dataset is divided into 70% for training and 30% for testing. SMOTE is applied to address class imbalance. The model achieved 80% accuracy with the best performance in normal class with precision, recall and f1-score  of  94%. However, no samples were identified for Potential Arrhythmia class, as there were no extracted feature values that met the criteria set by the doctor, so model could neither learn nor make predictions for this category, even after applying balancing methods such as SMOTE. For further research, based on these findings, it highlights the need for balanced class representation and expert-guided labeling to improve the performance of ECG -based arrhythmia classification.

Copyrights © 2025






Journal Info

Abbrev

sinkron

Publisher

Subject

Computer Science & IT

Description

Scope of SinkrOns Scientific Discussion 1. Machine Learning 2. Cryptography 3. Steganography 4. Digital Image Processing 5. Networking 6. Security 7. Algorithm and Programming 8. Computer Vision 9. Troubleshooting 10. Internet and E-Commerce 11. Artificial Intelligence 12. Data Mining 13. Artificial ...