Related Experiment Video
Updated: Dec 7, 2025

Calculating Heart Rate Variability from ECG Data from Youth with Cerebral Palsy During Active Video Game Sessions
Published on: June 5, 2019
Prediction of Sudden Cardiac Death Risk with a Support Vector Machine Based on Heart Rate Variability and Heartprint
Marisol Martinez-Alanis1, Erik Bojorges-Valdez2, Niels Wessel3
1Facultad de Ingeniería, Universidad Anáhuac México, Huixquilucan 52786, Estado de Mexico, Mexico.
Insights
This study identified optimal combinations of heart rate variability and heartprint indices from short ECG recordings to predict sudden cardiac death (SCD). These findings may enable early warning systems for imminent SCD events.
Area of Science:
- Cardiology
- Biomedical Engineering
- Data Science
Background:
- Sudden cardiac death (SCD) prediction typically relies on lengthy electrocardiogram (ECG) recordings.
- Existing methods utilize heart rate variability (HRV) or heartprint indices over 24-hour periods.
- Short-term ECG analysis for SCD prediction remains an area for advancement.
Purpose of the Study:
- To identify optimal combinations of HRV and heartprint indices for predicting SCD using short-term ECG recordings (1000 heartbeats).
- To develop and validate a Support Vector Machine (SVM) model for early SCD risk assessment.
Main Methods:
- Measured eleven HRV indices and five heartprint indices from 135 ECG recording pairs (pre-SCD vs. control).
- Employed Support Vector Machines with a radial basis function kernel and hyperparameter optimization.
- Utilized 10-fold cross-validation to systematically identify the best index combinations and optimize SVM parameters (gamma and cost).
Main Results:
- The best index combinations achieved high predictive performance, with Area Under the Curve (AUC) values ranging from 0.80 to 0.86 and accuracies from 80% to 86%.
- Validation on an independent dataset yielded an AUC of 0.68 and accuracy of 67% for the top-performing combination.
- The study systematically identified 13 superior combinations of HRV and heartprint indices.
Conclusions:
- Short-term ECG recordings, analyzed with optimized SVM models, can effectively predict SCD risk.
- The developed SVM model shows potential for early warning systems, aiding in the prevention of imminent SCD.
- This approach offers a more efficient alternative to long-term monitoring for SCD risk assessment.
Abstract:
Most methods for sudden cardiac death (SCD) prediction require long-term (24 h) electrocardiogram recordings to measure heart rate variability (HRV) indices or premature ventricular complex indices (with the heartprint method). This work aimed to identify the best combinations of HRV and heartprint indices for predicting SCD based on short-term recordings (1000 heartbeats) through a support vector machine (SVM). Eleven HRV indices and five heartprint indices were measured in 135 pairs of recordings (one before an SCD episode and another without SCD as control). SVMs (defined with a radial basis function kernel with hyperparameter optimization) were trained with this dataset to identify the 13 best combinations of indices systematically. Through 10-fold cross-validation, the best area under the curve (AUC) value as a function of γ (gamma) and cost was identified. The predictive value of the identified combinations had AUCs between 0.80 and 0.86 and accuracies between 80 and 86%. Further SVM performance tests on a different dataset of 68 recordings (33 before SCD and 35 as control) showed AUC = 0.68 and accuracy = 67% for the best combination. The developed SVM may be useful for preventing imminent SCD through early warning based on electrocardiogram (ECG) or heart rate monitoring.
Related Concept Videos
Factors Influencing Heart Rate
Let us explore the significant factors affecting heart rate, including age, body temperature, posture, acute pain, chemical influences,...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Cardiomyopathy III: Hypertrophic Cardiomyopathy
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...

