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

Zhihao Jiang1,2, Limi Chen1,2, Jing Yang1
1Hainan Vocational University of Science and Technology, Haikou 571126, China
2Institute for Mathematical Research, Universiti Putra Malaysia, Serdang 43400, Malaysia
Limi Chen1,2, Zhihao Jiang1,2, Jing Yang1
1Hainan Vocational University of Science and Technology, Haikou 571126, China
2Institute for Mathematical Research, Universiti Putra Malaysia, Serdang 43400, Malaysia
Hui Yuan1, Minjie Chai2, Siqing Xu1, Jinsong Li1, Jinwan Zheng1
1Electric Power Research Institute, State Grid Shanxi Electric Power Co., Ltd., Taiyuan, 030001, Shanxi, China
2Jincheng Power Supply Branch, State Grid Shanxi Electric Power Co., Ltd., Jincheng, 048000, Shanxi, China
Yanhan Zhu1,2
1China Academy of Cultural Heritage, Chaoyang District, 100029, Beijing, China
2Beijing University of Civil Engineering and Architecture, Xicheng District, 100044, Beijing, China
Ken Wang1, Jinhan Shu2, Kan Yuan1
1School of Digital Media, Shenzhen Polytechnic University, Shenzhen 518055, Guangdong, China
2Postdoctoral Mobile Station of Journalism and communication, Fudan University, Shanghai 200433, Shanghai, China