PLoS ONE (Jan 2025)
Improving myocardial infarction diagnosis with Siamese network-based ECG analysis.
Abstract
BackgroundHeart muscle damage from myocardial infarction (MI) is brought on by insufficient blood flow. The leading cause of death for middle-aged and older people worldwide is myocardial infarction (MI), which is difficult to diagnose because it has no symptoms. Clinicians must evaluate electrocardiography (ECG) signals to diagnose MI, which is difficult and prone to observer bias. To be effective in actual practice, an automated, and computerized detection system for Myocardial Infarction using ECG images, must meet a number of criteria.ObjectiveIn an actual clinical situation, these requirements-such as dependability, simplicity, and superior decision-making abilities-remain crucial. In the current work, we have developed a model using a dataset that consists of a combination of 928 ECG images taken from publicly available Mendeley Data. It was converted into three classes Myocardial Infarction, Abnormal heartbeat, and Normal.MethodsThe dataset is then imported, pre-processed, and split into a 70:20:10 ratio of training, validation, and testing. It is then trained using the Siamese Network Model.ResultsThe classification accuracy comes out to be 98%. The algorithm works excellently with datasets having class imbalance by taking pair of images as input. The validation and testing classification matrix is then generated and the evaluation metrics for both of them come out to be a near-perfect value.ConclusionIn this study, we developed the ECG signals based early detection of cardiovascular diseases with Siamese network model.