Intra-patient Arrhythmia Heartbeat Modeling by Gibbs Sampling
Heartbeat modeling allows to detect anomalies that reflect the functioning of the heart. Certain approaches face this problem by using Gaussian Mixture Models (GMMs) and other statistical classifiers by extracting the fiducial points provided by the MIT-BIH database. In this work, MIT-BIH database heartbeats are modeled into different heartbeat types from a single subject by using the Gibbs Sampling (GS) algorithm. Firstly, a data pre-processing step is performed; this step involves several tasks such as filtering the raw signals from the MIT-BIH database and reducing the heartbeat types to five. Secondly, the GS is applied to the resulting signals of one subject. Thirdly, the Euclidean distance between each heartbeat type is calculated, and lastly, the Bhattacharyya distance is used to classify heartbeats. The results obtained by the GS algorithm were also compared to results obtained by applying the Expectation Maximization (EM) algorithm to the same data-set. Results allow to conclude that GS is a proper solution for separating each heartbeat type; by providing a significant difference between each heartbeat type which can be used for classification.
KeywordsArrhythmia Electrocardiogram Gibbs Sampling algorithm Expectation Maximization QRS complex R programming
Authors would like to acknowledge the Mexican National Council on Science and Technology (CONACyT) and the Universidad de las Américas Puebla (UDLAP) for their support through the doctoral scholarship program.
- 1.Thaler, M.S.: The Only EKG Book You’ll Ever Need. Board Review Series. Lippincott Williams & Wilkins, Philadelphia (2007)Google Scholar
- 7.Edla, S., et al.: Sequential Markov chain monte carlo filter with simultaneous model selection for electrocardiogram signal modeling. In: 34th Annual International Conference of the IEEE EMBS, August 2012Google Scholar
- 9.Da, E.J., Luz, S., et al.: ECG-based heartbeat classification for arrhythmia detection: a survey. Comput. Methods Programs Biomed. 127, 144–164 (2015)Google Scholar
- 11.Walsh, B.: Markov chain monte carlo and gibbs sampling. Lecture Notes Online (2002)Google Scholar
- 13.Association for the Advancement of Medical Instrumentation and American National Standards Institute. Testing and Reporting Performance Results of Cardiac Rhythm and ST-segment Measurement Algorithms. ANSI/AAMI. The Association (1999)Google Scholar
- 14.Lambert, B.: A Students Guide to Bayesian Statistics. SAGE Publications, Thousand Oaks (2018)Google Scholar
- 16.Anton, H.: Elementary Linear Algebra. Wiley, Hoboken (2010)Google Scholar
- 17.Kashyap, R.: Combining dimension reduction, distance measures and covariance, November 2016Google Scholar