Schulich School of Engineering
An End-to-End Digital Twin System for Sudden Cardiac Arrest Risk Prediction
Abstract
dc:description.abstractSudden cardiac arrest (SCA) is a leading cause of mortality worldwide, accounting for nearly 20% of deaths in developed countries. Its sudden and unpredictable onset makes early detection and timely intervention extremely challenging. Electrocardiograms (ECGs) provide essential information about cardiac electrical activity; however, most existing machine learning (ML) approaches focus on detecting known arrhythmias rather than directly estimating cardiac arrest risk. In addition, many high-performing models rely on full 12-lead ECGs, which limits their applicability in wearable and long-term monitoring settings. This thesis proposes a two-phase framework that combines transfer learning for reduced-lead ECG anal-ysis with a fully implemented, cloud-based digital twin monitoring system. In the first phase, a pre-trained deep learning model is adapted using transfer learning to predict SCA risk from reduced-lead ECG signals. The final model, configured for six-lead input, demonstrates strong classification performance, achieving an accuracy of 88%, AUC of 0.8851, and an F1-score of 0.8334, indicating that reduced-lead ECGs can effectively support cardiac arrest risk prediction. In the second phase, the trained model is integrated into an end-to-end digital twin architecture deployed on a cloud platform. The system ingests ECG data as simulated real-time telemetry, stores and manages signal data through cloud services, performs automated model inference using a containerized prediction service, and continuously updates patient-specific digital twins with risk-related information. A dashboard visualizes ECG waveforms, risk status, and alerts, forming a monitoring pipeline. By implementing and validating this complete system workflow, the proposed framework demonstrates how predictive ECG models can be operationalized within a scalable digital twin environment to support continuous and proactive cardiac arrest risk monitoring.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MSc)
- Discipline thesis:degree_discipline
- Engineering – Electrical & Computer
- Grantor
- Schulich School of Engineering
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Safarialamoti, Zahra
- Advisors dc:contributor.advisor
-
- Far, Behrouz
- Mohammed, Emad
- Committee members dc:contributor.committeemember
-
- Fapojuwo, Abraham
- Kim, Kangsoo
Subjects
dc:subject × 8Rights
dc:rights- Statement dc:rights
-
- Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
- Safarialamoti, Z. (2026). An end-to-end digital twin system for sudden cardiac arrest risk prediction (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.