{"title":"A hybrid machine learning approach using particle swarm optimization for cardiac arrhythmia classification","authors":"Sanjay Dhanka, Surita Maini","doi":"10.1016/j.ijcard.2025.133266","DOIUrl":null,"url":null,"abstract":"<div><h3>Background</h3><div>Precise and rapid identification of cardiac arrhythmias is paramount for delivering optimal patient care. Machine learning (ML) techniques hold significant promise for classifying arrhythmias, yet achieving peak performance often necessitates refined hyperparameter tuning.</div></div><div><h3>Methods</h3><div>This investigation presents a novel, multi-faceted strategy for cardiac arrhythmia classification, employing a synergistic model that combines Particle Swarm Optimization (PSO) with a range of ML algorithms, i.e., Logistic Regression, Linear Discriminant Analysis, Gaussian Naive Bayes, Decision Tree, and XGBoost Classifier to enhance their predictive capabilities. The models are implemented on the UCI cardiac arrhythmia dataset and validated by Stratify K-Fold.</div></div><div><h3>Results</h3><div>The hybrid models developed in this study exhibited a marked improvement over their unoptimized counterparts, demonstrating superior overall performance across a spectrum of metrics. Notably, Model 5, integrating PSO with the XGBoost Classifier, achieved exceptional results, including a 95.24 % accuracy, 94.81 % balanced accuracy, 96.3 % sensitivity, 93.3 % specificity, 96.3 % precision, 96.3 % F1 Score, 93.33 % NPV, 89.63 % MCC, 4.76 % CE, 14.44 LR+, 0.04 LR-, and a DOR of 364, surpassing the performance of previously reported methods. Furthermore, the models exhibited low computational cost and complexity, making them feasible for real-time applications.</div></div><div><h3>Conclusions</h3><div>This research underscores the effectiveness of PSO-optimized hybrid models for the accurate and efficient classification of cardiac arrhythmias. The proposed approach demonstrates a significant advancement over existing methodologies in terms of diagnostic performance, presenting a valuable resource for clinical decision-making. Future studies could explore the application of these models to diverse clinical problems and investigate their interpretability to enhance trust and adoption.</div></div>","PeriodicalId":13710,"journal":{"name":"International journal of cardiology","volume":"432 ","pages":"Article 133266"},"PeriodicalIF":3.2000,"publicationDate":"2025-04-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International journal of cardiology","FirstCategoryId":"3","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167527325003092","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CARDIAC & CARDIOVASCULAR SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
Background
Precise and rapid identification of cardiac arrhythmias is paramount for delivering optimal patient care. Machine learning (ML) techniques hold significant promise for classifying arrhythmias, yet achieving peak performance often necessitates refined hyperparameter tuning.
Methods
This investigation presents a novel, multi-faceted strategy for cardiac arrhythmia classification, employing a synergistic model that combines Particle Swarm Optimization (PSO) with a range of ML algorithms, i.e., Logistic Regression, Linear Discriminant Analysis, Gaussian Naive Bayes, Decision Tree, and XGBoost Classifier to enhance their predictive capabilities. The models are implemented on the UCI cardiac arrhythmia dataset and validated by Stratify K-Fold.
Results
The hybrid models developed in this study exhibited a marked improvement over their unoptimized counterparts, demonstrating superior overall performance across a spectrum of metrics. Notably, Model 5, integrating PSO with the XGBoost Classifier, achieved exceptional results, including a 95.24 % accuracy, 94.81 % balanced accuracy, 96.3 % sensitivity, 93.3 % specificity, 96.3 % precision, 96.3 % F1 Score, 93.33 % NPV, 89.63 % MCC, 4.76 % CE, 14.44 LR+, 0.04 LR-, and a DOR of 364, surpassing the performance of previously reported methods. Furthermore, the models exhibited low computational cost and complexity, making them feasible for real-time applications.
Conclusions
This research underscores the effectiveness of PSO-optimized hybrid models for the accurate and efficient classification of cardiac arrhythmias. The proposed approach demonstrates a significant advancement over existing methodologies in terms of diagnostic performance, presenting a valuable resource for clinical decision-making. Future studies could explore the application of these models to diverse clinical problems and investigate their interpretability to enhance trust and adoption.
期刊介绍:
The International Journal of Cardiology is devoted to cardiology in the broadest sense. Both basic research and clinical papers can be submitted. The journal serves the interest of both practicing clinicians and researchers.
In addition to original papers, we are launching a range of new manuscript types, including Consensus and Position Papers, Systematic Reviews, Meta-analyses, and Short communications. Case reports are no longer acceptable. Controversial techniques, issues on health policy and social medicine are discussed and serve as useful tools for encouraging debate.