Real-Time Heart Arrhythmia Detection Using Apache Spark Structured Streaming
Author(s) -
Sadegh Ilbeigipour,
Amir Albadvi,
Elham Akhondzadeh Noughabi
Publication year - 2021
Publication title -
journal of healthcare engineering
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.509
H-Index - 29
eISSN - 2040-2309
pISSN - 2040-2295
DOI - 10.1155/2021/6624829
Subject(s) - random forest , artificial intelligence , computer science , cardiac arrhythmia , spark (programming language) , classifier (uml) , atrial fibrillation , pipeline (software) , decision tree , machine learning , logistic regression , multiclass classification , class (philosophy) , medicine , support vector machine , programming language
One of the major causes of death in the world is cardiac arrhythmias. In the field of healthcare, physicians use the patient's electrocardiogram (ECG) records to detect arrhythmias, which indicate the electrical activity of the patient's heart. The problem is that the symptoms do not always appear and the physician may be mistaken in the diagnosis. Therefore, patients need continuous monitoring through real-time ECG analysis to detect arrhythmias in a timely manner and prevent an eventual incident that threatens the patient's life. In this research, we used the Structured Streaming module built top on the open-source Apache Spark platform for the first time to implement a machine learning pipeline for real-time cardiac arrhythmias detection and evaluate the impact of using this new module on classification performance metrics and the rate of delay in arrhythmia detection. The ECG data collected from the MIT/BIH database for the detection of three class labels: normal beats, RBBB, and atrial fibrillation arrhythmias. We also developed three decision trees, random forest, and logistic regression multiclass classifiers for data classification where the random forest classifier showed better performance in classification than the other two classifiers. The results show previous results in performance metrics of the classification model and a significant decrease in pipeline runtime by using more class labels compared to previous studies.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom