A Smart Health Application for Real-Time Cardiac Disease Detection and Diagnosis Using Machine Learning on ECG Data
摘要
Cardiac disease, also referred to as cardiovascular disease, is a collection of conditions that affect the heart and blood vessels. Medical professionals typically use a combination of medical history, physical examination, and various diagnostic tests, such as electrocardiograms (ECG/EKG), echocardiograms, and stress tests, to diagnose cardiac diseases. In response to this issue, we are introducing a mobile application that continuously monitors electrocardiogram signals and displays both average and instantaneous heart rates. The aim of this project is to detect and diagnose cardiac diseases so that patients can become informed about their heart health and take appropriate actions based on the results obtained. To identify diseases from real-time ECG data, we used machine learning (ML) classifiers and compared them with offline data to validate the classification. The model we used in our application is pre-trained on the MIT-BIH Arrhythmia Database, which contains a wide range of heart conditions. We used Artificial Neural Network (ANN) as a pre-trained model for multiclass detection as it performed the best among ML models, showing an overall accuracy of 94%. The performance of the model is evaluated by testing it on the application using MIT-BIH test Dataset. On the application, the beat-detecting pre-trained model showed an overall accuracy of 91.178%. The results indicate that the Smart-Health application can accurately classify heart diseases, providing an effective tool for early detection and monitoring of cardiac conditions.