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

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.

Authors

Institutions

Publication Details

Journal
SinkrOn
Published
2025-06-02
DOI
https://doi.org/10.33395/sinkron.v9i2.14793
Primary Topic
ECG Monitoring and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

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

Agustami Sitorus, Adya Zizwan Putra, Manjula Sanjay Koti Alamma B.H., Paulus Anggiat Ruben Simanjuntak et al.
SinkrOn
ECG Monitoring and Analysis
article

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

Agustami Sitorus, Adya Zizwan Putra, Manjula Sanjay Koti Alamma B.H., Paulus Anggiat Ruben Simanjuntak, Kevin Agustino Situmorang
article en

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.

SinkrOnVol. 9(2)
Universitas Prima Indonesia (ID)
Openalex Percentile: Top 78%
ECG Monitoring and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

ECG-Based Arrhythmia Classification in Students Using Random Forest: A Case Study with Class Imbalance Analysis — Agustami Sitorus, Adya Zizwan Putra, et al. · SinkrOn (2025) | TGRS Research Map | TGRS