Related Experiment Video
Updated: Mar 3, 2026

Calculating Heart Rate Variability from ECG Data from Youth with Cerebral Palsy During Active Video Game Sessions
Published on: June 5, 2019
A refined SMOTE-ENN optimization method based on machine learning for heart rate variability data classification
Biao Zhang1,2, Muzi Liang1, Yuanlun Zhou1
1School of Artificial Intelligence and Information Technology, Nanjing University of Chinese Medicine, Nanjing, China.
Introduction:
The classification of imbalanced heart rate variability (HRV) data utilizing machine learning algorithms is of considerable significance for the early detection of depression. In this work, a refined SMOTE-ENN hybrid optimization method based on machine learning algorithms is proposed, which achieves precise classification of Autonomic Nervous System (ANS) states using imbalanced and limited HRV data.
Methods:
The refined Synthetic Minority Over-sampling Technique generates new minority class samples through in-line and off-line linear interpolation. Subsequently, the refined Edited Nearest Neighbor under-sampling algorithm is employed to remove most of the noisy data while retaining selected boundary data to reduce the overfitting risk. Four machine learning algorithms are employed to classify the optimized HRV data using the refined SMOTE-ENN method from 321 participants, including support vector machine, random forest, neural network, and K-nearest neighbors.
Results:
The results indicate that the classification accuracy of all four methods surpasses 91%, with the AUC (Area Under the Curve) values exceeding 0.92 following the refined SMOTE-ENN optimization. In comparison to the classification results with classical SMOTE optimization of the four machine learning algorithms, the mean accuracy, precision, recall, and F1 score improved by 0.12, 0.12, 0.10 and 0.11, respectively. Feature importance analysis reveals that SDNN (standard deviation of NN intervals) has the most significant impact on HRV classification results, reflecting its influence on ANS.
Discussion:
The refined SMOTE-ENN optimization method enhances the detection performance of the machine learning algorithms for classifying imbalanced HRV data, providing valuable technical support for the early detection of depression.
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,...
Classification of Signals
A continuous-time signal holds a value at every instant in time, representing information seamlessly. In contrast, a discrete-time signal holds values only at specific moments, often denoted as x(n), where...
Regulation of Heart Rates
The SNS increases heart rate through the release of norepinephrine and epinephrine, which act on beta-1 adrenergic receptors in the heart. This action increases the rate of depolarization in the sinoatrial (SA) node, the heart's...
Heart Failure IV: Classification and Diagnostic Evaluation
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...
Classification of Systems-I
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:

