Afrahul Hidayah Siregar (1), Saut Dohot Siregar (2)
General Background: Heart failure remains a global health concern due to its high prevalence and mortality rates. Specific Background: In Indonesia, heart disease ranks as a leading cause of death, emphasizing the need for reliable predictive tools. Knowledge Gap: Despite the availability of machine learning algorithms, limited studies provide a comparative evaluation using updated clinical datasets in the Indonesian context. Aims: This study aims to compare the performance of Logistic Regression and Support Vector Machine (SVM) in predicting heart failure. Results: Using a dataset of 918 samples and rigorous preprocessing, SVM achieved 90% accuracy with an AUC of 0.93, outperforming Logistic Regression, which scored 88% accuracy and an AUC of 0.9304. SVM demonstrated superior sensitivity and robustness in handling non-linear data, while Logistic Regression offered better calibration for risk interpretation. Novelty: The study’s novelty lies in its integrated open-source pipeline, use of biomedical signal features, and statistical validation via McNemar’s test. Implications: These findings support the implementation of SVM in automated clinical decision systems for early heart failure detection, while highlighting Logistic Regression's value in interpretability-focused clinical settings.Highlight :
Keywords : Logistic Regression, Support Vector Machine (SVM), Heart Failure, Machine Learning Classification, Prediction Calibration
Q.-F. Chen et al., "Global burden of heart failure and its underlying causes in 204 countries and territories, 1990–2021," Eur. Heart J. Qual. Care Clin. Outcomes, vol. 11, no. 4, pp. 493–509, 2025, doi: 10.1093/ehjqcco/qcae110.
N. Nasution, F. B. Nasution, and M. A. Hasan, "Predicting heart disease using machine learning: An evaluation of logistic regression, random forest, SVM, and KNN models on the UCI heart disease dataset," IT J. Res. Dev. (ITJRD), vol. 9, no. 2, pp. 140–150, 2025, doi: 10.25299/itjrd.2025.17941.
Y. Wang and H. Cao, "Heart failure prediction based on bootstrap sampling and weighted fusion LightGBM model," Appl. Sci., vol. 15, no. 8, pp. 1–33, 2025, doi: 10.3390/app15084360.
R. Kumar et al., "A comprehensive review of machine learning for heart disease prediction: Challenges, trends, ethical considerations, and future directions," Front. Artif. Intell., vol. 13, no. 8, 2025, doi: 10.3389/frai.2025.1583459.
D. N. Hafila, W. S. Darma, and N. D., "Prevalensi penyakit kardiovaskular pada masa pandemic tahun 2020–2021 di RS Arifin Nu’mang Kabupaten Sidrap," Fakumi Med. J., vol. 3, no. 10, pp. 710–719, 2023, doi: 10.33096/fmj.v3i10.293.
I. Rosidawati and H. Ariyani, "Gambaran tingkat risiko penyakit kardiovaskular berdasarkan skor kardiovaskular Jakarta," Healthc. Nurs. J., vol. 4, no. 1, pp. 252–257, 2022, doi: 10.35568/healthcare.v4i1.1852.
Y. Rimal et al., "Comparative analysis of heart disease prediction using logistic regression, SVM, KNN, and random forest with cross-validation for improved accuracy," Sci. Rep., vol. 15, 2025, doi: 10.1038/s41598-025-93675-1.
M. Anshori, M. S. Haris, and A. Wahyudi, "Logistic regression's effectiveness in feature selection with information gain in predicting heart failure patients," JESICA: J. Enhanc. Stud. Inf. Comput. Appl., vol. 1, no. 2, pp. 35–39, 2024, doi: 10.47794/jesica.v1i2.8.
F. Ghasemi and S. Sharifi, "Heart failure prediction using support vector machine," Int. J. Novel Res. Life Sci., vol. 12, no. 1, pp. 12–17, 2025, doi: 10.5281/zenodo.14738316.
C. B. G. Allo et al., "Comparing logistic regression and support vector machine in breast cancer problem," Jambura J. Probab. Stat., vol. 4, no. 1, pp. 1–8, 2023, doi: 10.34312/jjps.v4i1.19246.
L. R. Safitri et al., "Comparison of logistic regression and support vector machine in predicting stroke risk," Inferensi, vol. 7, no. 2, pp. 123–128, 2024, doi: 10.36085/jsai.v8i1.7551.
A. R. and S., "Data mining with logistic regression and support vector machine for hepatitis disease diagnosis," J. Inf. Telecommun. Eng. (JITE), vol. 8, no. 2, pp. 248–256, 2025, doi: 10.31289/jite.v8i2.13218.
J.-X. Wang et al., "Machine learning algorithms to predict heart failure with preserved ejection fraction among patients with premature myocardial infarction," Frontiers, vol. 12, 2025, doi: 10.3389/fcvm.2025.1571185.
K. Cao-Van, L. G. Minh, T. C. Minh, and H. M. Tan, "Prediction of heart failure using voting ensemble learning models and novel data normalization techniques," Eng. Appl. Artif. Intell., vol. 154, 2025, doi: 10.1016/j.engappai.2025.110888.
P. K. Sahoo and P. Jeripothula, "Heart failure prediction using machine learning techniques," SSRN Electron. J., 2020, doi: 10.2139/ssrn.3759562.
A. Prasetyo, E. D. A. Mulia, and K. K. Octavina, "Comparative study of heart failure prediction algorithm: Logistic regression and SVM," Int. J. Intell. Syst. Appl. Eng., vol. 11, no. 2, pp. 518–522, 2023. [Online]. Available: [https://ijisae.org/index.php/IJISAE/article/view/2662]
R. Pooja, "Comparative analysis of decision support system for heart disease," Adv. Math. Sci. J., vol. 9, pp. 3349–3357, 2020, doi: 10.37418/amsj.9.6.15.
T. Ciu and R. S. Oetama, "Logistic regression prediction model for cardiovascular disease," Int. J. New Media Technol. (IJNMT), vol. 7, no. 1, pp. 33–38, 2020, doi: 10.31937/ijnmt.v7i1.1340.
M. Anshori and M. S. Haris, "Predicting heart disease using logistic regression," Knowl. Eng. Data Sci. (KEDS), vol. 5, no. 2, pp. 188–196, 2022, doi: 10.17977/um018v5i22022p188-196.
A. M. Nwohiri et al., "Logistic regression technique for cardiovascular disease prediction," FUDMA J. Sci. (FJS), vol. 8, no. 4, pp. 266–275, 2024, doi: 10.33003/fjs-2024-0804-2624.
H. Azis, "Assessing the performance of logistic regression in heart disease detection through 5-fold cross-validation," Int. J. Artif. Intell. Med. Issues, vol. 2, no. 1, 2024, doi: 10.56705/ijaimi.v2i1.137.
A. Jayathilaka, "Exploring predictive factors for heart disease: A comprehensive analysis using logistic regression," J. Undergrad. Res., vol. 23, no. 1, pp. 39–53, 2024, doi: 10.47761/YRCU1073.
S. Friedrich et al., "Applications of artificial intelligence/machine learning approaches in cardiovascular medicine: A systematic review with recommendations," Eur. Heart J. Digit. Health, vol. 2, no. 3, pp. 236–424, 2021, doi: 10.1093/ehjdh/ztab054.
W. Alsabhan and A. Alfadhly, "Effectiveness of machine learning models in diagnosis of heart disease: A comparative study," Sci. Rep., vol. 14, no. 2, 2025, doi: 10.1038/s41598-025-09423-y.