Back to search

Universitat Oberta de Catalunya (UOC)

Prediction of Temporal Anomalies in ECG for Atrial Fibrillation Identification (AFI)

Abstract

dc:description.abstract

Cardiovascular diseases are the leading cause of death globally, with atrial fibrillation (AF) being the most common sustained cardiac arrhythmia. This work develops a machine learning model for early arrhythmia detection using electrocardiographic (ECG) signals, aiming to create a diagnostic support tool for healthcare professionals. The methodology employed the MIT-BIH Arrhythmia Database, applying a threestage approach: ECG signal preprocessing, extraction of clinically relevant features (temporal, morphological, and frequency-domain), and development of predictive models. The AAMI standard classification was implemented to group heartbeats into five categories: Normal (N), Supraventricular (S), Ventricular (V), Fusion (F), and Unknown (Q). SMOTE was used to address class imbalance, and three algorithms were evaluated: Random Forest, Support Vector Machine, and K-Nearest Neighbors. Results show that Random Forest achieved the best performance with 96.69% accuracy and a weighted F1-score of 0.97. Explainability analysis using SHAP revealed that temporal features (RR intervals and their variability) and demographic factors (age) were the most influential predictors, aligning with established clinical knowledge. The study concludes that the developed model is robust, accurate, and interpretable, fulfilling the proposed objectives. The integration of explainability enhances clinical trust, while high performance demonstrates its potential as a diagnostic support tool for early cardiac arrhythmia detection.

Degree

thesis:*
Grantor dc:publisher
Universitat Oberta de Catalunya (UOC)
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Pol Ferrer, Ester

Subjects

dc:subject × 1

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • info:eu-repo/semantics/openAccess
  • Attribution-NonCommercial-NoDerivatives 4.0 International
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10609/152896

Chain of custody

source
Harvested from
Universitat Oberta de Catalunya
Base URL
openaccess.uoc.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Pol Ferrer, Ester. Prediction of Temporal Anomalies in ECG for Atrial Fibrillation Identification (AFI). Universitat Oberta de Catalunya (UOC), 2025. https://hdl.handle.net/10609/152896