Outline

Ingegneria Sismica

Ingegneria Sismica

A heartbeat anomaly classification algorithm integrating dynamic parameter feature extraction method and random forest classification model

Author(s): Xiaochen Duan1, Junbo Hao2, Hankai Xu2, Sicen Guo3, Ping Wang2
1School of Big Data & Software Engineering,Chongqing University, Chongqing,400000, China
2School of Electrical Engineering, Chongqing University, Chongqing, 400000, China
3School of Microelectronics and Communication Engineering, Chongqing University, Chongqing, 400000, China
Duan, Xiaochen. et al “A heartbeat anomaly classification algorithm integrating dynamic parameter feature extraction method and random forest classification model.” Ingegneria Sismica Volume 43 Issue 3: 1-15, doi:10.65102/is20261220.

Abstract

Conventional differential-threshold methods and machine-learning-based approaches often fail to guarantee both accuracy and real-time performance in heart rate variability (HRV) prediction. To address this issue, this paper proposes a heartbeat abnormality classification algorithm that integrates dynamic parameter feature extraction with a random forest classifier for fast and accurate electrocardiogram (ECG) analysis. First, raw ECG data are cleaned by digital filtering to obtain noise-suppressed signals, and dynamic thresholds are computed based on the heartbeats in the most recent 10 seconds. Second, a composite threshold score is calculated from the dynamic thresholds and current beat features to locate the QRS complex, followed by a local search for refinement. Finally, temporal feature vectors are constructed from the most recent heartbeats and fed into a pre-trained random forest model to obtain heartbeat abnormality classification results. Experimental results demonstrate that, compared with traditional differential-threshold algorithms and machine-learning-based methods, the proposed algorithm achieves both high accuracy and real-time performance in HRV prediction. On record 100 of the MIT-BIH Arrhythmia Database, the proposed method attains an accuracy of 99.65% and a sensitivity of 99.54%. Thus, relative to conventional differential-threshold and machine-learning-based approaches, the proposed algorithm maintains real-time capability while simultaneously achieving high classification accuracy.

Keywords
ECG detection; adaptive differential thresholding; band-pass filtering; wavelet transform; random forest; machine learning

Related Articles

Liqin Zheng1, Dongrui Qing2, Yan Zhang1
1School of Mathematics and Statistics, Shaan Xi Xue Qian Normal University Xi’an 710100, P.R.China
2School of Marxism, Xi’an University of Finance and Economics Xi’an 710100, P.R.China
Yanan Gao1, Aiqun Peng2, Nina Ma2
1Management School of Anhui Business and Technology College Hefei 230000, Anhui, China
2Economics and Trade School of Anhui Business and Technology College Hefei 230000, Anhui, China
Ya’ning Liu1, Ping Ma1
1School of Teacher Education, Shihezi University, Shihezi, Xinjiang, 832000, China
Yuhui Li1, Zhongliang Gong1
1College of Mechanical and Intelligent Manufacturing, Central South University of Forestry and Technology, Changsha, Hunan, 410004, China
Hanqing Hu1, Chengjin Liu1, Tianmu Tian1
1School of Management Science and Engineering, Beijing Information Science & Technology University, Beijing 100192