Abstract
The World Health Organization reports that cardiac disorders result in approximately 1.02 million deaths annually. Accurate prognosis and continuous monitoring of cardiovascular diseases (CD) are often unattainable due to the extensive expertise and time required, particularly in resource-constrained regions. This study presents a novel optimization technique for diagnosing cardiac illness utilizing Support Vector Machine (SVM) and the Grasshopper Optimization Algorithm (GOA). The primary objective is to identify impactful characteristics and enhance SVM efficiency. GOA, inspired by grasshopper swarm behavior, optimizes feature selection and reduces data dimensionality while maintaining high prediction accuracy. Experimental results on ECG data demonstrate that the proposed approach significantly improves diagnostic precision and speed, offering a robust tool for early heart disease detection.
Introduction
Cardiovascular diseases remain a leading cause of global mortality. While automated diagnostic systems exist, they are often hindered by the high dimensionality of medical datasets—which contain redundant or noisy features—and the inherent noise in raw ECG signals (e.g., power line interference). Manual analysis is labor-intensive and requires specialized expertise often unavailable in developing nations. This research addresses these challenges by developing a non-invasive, high-speed diagnostic framework that accurately identifies conditions like myocardial infarction (MI) by intelligently selecting the most impactful data features.
Methodology
The proposed diagnostic pipeline integrates advanced signal processing with bio-inspired optimization.
Data Preprocessing and Normalization
Raw ECG signals from the MIT-BIH Arrhythmia Database undergo multi-stage filtering (Moving Average, Kaiser, Butterworth, and Median) and Discrete Wavelet Transform (DWT). This process decomposes the signal to remove noise while preserving critical cardiac peaks necessary for feature extraction.
Feature Selection and SVM Optimization
The core innovation lies in the application of the Grasshopper Optimization Algorithm (GOA). GOA mimics the social behavior of grasshoppers to balance exploration and exploitation in the feature space. It identifies the most influential characteristics, such as the QRS-complex, T-integral, and Q-integral. Simultaneously, GOA is used to tune the hyperparameters of the Support Vector Machine (SVM), ensuring the model finds the optimal hyperplane for separating healthy and diseased states.
Results and Discussion
The hybrid SVM-GOA approach was evaluated against standard models including Naive Bayes and Decision Trees, as well as other metaheuristics like Particle Swarm Optimization (PSO) and Genetic Algorithms (GA).
Performance Metrics
The proposed method achieved a remarkable average accuracy of 99.11%, outperforming baseline methods (97.66%). Efficiency was also significantly improved, with processing times reduced from 2.80 seconds to 1.91 seconds. The model demonstrated high reliability with a sensitivity of 0.948 and specificity of 0.924.
Comparative Analysis
The use of swarm intelligence allowed the model to avoid local minima, a common pitfall in traditional search methods. By pruning irrelevant features, the system not only increased speed but also enhanced accuracy by removing data points that could lead to misclassification. As shown in the ROC analysis, the SVM-based approach significantly outperforms alternative classifiers.
Conclusion
This study demonstrates that combining SVM with GOA creates a highly specialized and efficient model for ECG-based heart disease diagnosis. While the model's performance is dependent on initial signal quality and can occasionally face early convergence issues, the results indicate a significant step forward in automated cardiac monitoring. Future work will explore deep learning integrations and validation on broader clinical datasets to enhance robustness in real-world applications.
Summary updated