Prediksi Risiko Penyakit Jantung Menggunakan Support Vector Machine dengan Seleksi Fitur dan Optimasi Hyperparamete
Abstract
Heart disease remains one of the leading causes of mortality worldwide, highlighting the need for accurate prediction models to support early diagnosis and clinical decision-making. This study proposes a heart disease risk prediction model based on Support Vector Machine (SVM) integrated with Recursive Feature Elimination (RFE) for feature selection and GridSearchCV for hyperparameter optimization. The study utilized the Cleveland Heart Disease Dataset, consisting of 303 patient records, 13 predictive attributes, and one target variable. The research workflow included dataset collection, data preprocessing, feature selection, hyperparameter optimization, model development, and performance evaluation using Accuracy, Precision, Recall, F1-score, and ROC-AUC. Experimental results demonstrate that the proposed model achieved an Accuracy of 86.89%, Precision of 85.71%, Recall of 85.71%, F1-score of 85.71%, and ROC-AUC of 93.18%. Feature selection successfully reduced irrelevant attributes, improving model efficiency, while hyperparameter optimization produced a more effective parameter configuration than the default settings. These findings indicate that integrating RFE with GridSearchCV enhances the predictive performance of SVM and provides a promising approach for supporting heart disease diagnosis using machine learning techniques.
Downloads
References
R. Waluyo and A. S. Munir, “Optimasi Prediksi Kematian pada Gagal Jantung Analisis Perbandingan Algoritma Pembelajaran Ensemble dan Teknik Penyeimbangan Data pada Dataset,” Jurnal Sistem dan Teknologi Informasi (JustIN), vol. 12, no. 2, p. 365, Apr. 2024, doi: 10.26418/justin.v12i2.75158.
A. S. Verdiana, M. Cerinda, R. Mansur, and F. Y. Cahyani, “Provincial Analysis of Years of Life Lost and Economic Impact of Heart Disease Among the Working-Age Population in Indonesia (2018-2023),” Indonesian Health Journal, vol. 5, no. 1, pp. 141–147, Mar. 2026, doi: 10.58344/ihj.v5i1.829.
P. Joseph et al., “Cardiovascular disease in the Americas: the epidemiology of cardiovascular disease and its risk factors,” The Lancet Regional Health - Americas, vol. 42, p. 100960, Feb. 2025, doi: 10.1016/j.lana.2024.100960.
Y. Luo, J. Liu, J. Zeng, and H. Pan, “Global burden of cardiovascular diseases attributed to low physical activity: An analysis of 204 countries and territories between 1990 and 2019,” Am. J. Prev. Cardiol., vol. 17, p. 100633, Mar. 2024, doi: 10.1016/j.ajpc.2024.100633.
G. A. Mensah et al., “Global Burden of Cardiovascular Diseases and Risks, 1990-2022,” J. Am. Coll. Cardiol., vol. 82, no. 25, pp. 2350–2473, Dec. 2023, doi: 10.1016/j.jacc.2023.11.007.
T. S. Santi, J. E. Nelwan, and F. L. F. G. Langi, “Gambaran Faktor Risiko Kejadian Penyakit Jantung Koroner di Poliklinik Jantung Cardio Vascular and Brain Center Rumah Sakit Umum Pusat Prof. Dr. R. D. Kandou Manado,” Jurnal Lentera: Penelitian dan Pengabdian Masyarakat, vol. 3, no. 2, pp. 79–84, Dec. 2022, doi: 10.57207/a6maa684.
Erni Kurniasih, W. Jumaiyah, D. Purnamawati, Y. Sofiani, and E. Erwin, “Determinan Self Care Pasien Penyakit Jantung Koroner Setelah Intervensi Koroner Perkutan,” Jurnal Ners, vol. 9, no. 3, pp. 4822–4826, Jul. 2025, doi: 10.31004/jn.v9i3.47105.
A. Chakraborty, U. K. Das, S. Sazzad, P. Das, and Md. M. H. Khan, “Explainable machine learning for early heart disease risk prediction: Insights from a clinical dataset in Bangladesh,” Intell. Based. Med., vol. 13, p. 100352, Mar. 2026, doi: 10.1016/j.ibmed.2026.100352.
D. Sylvester Aondonenge et al., “Early Heart Disease Prediction Using Data Mining Techniques,” Vokasi Unesa Bulletin of Engineering, Technology and Applied Science, vol. 2, no. 2, pp. 211–226, Jun. 2025, doi: 10.26740/vubeta.v2i2.36735.
S. Samant, A. N. Panagopoulos, W. Wu, S. Zhao, and Y. S. Chatzizisis, “Artificial Intelligence in Coronary Artery Interventions: Preprocedural Planning and Procedural Assistance,” Journal of the Society for Cardiovascular Angiography & Interventions, vol. 4, no. 3, p. 102519, Mar. 2025, doi: 10.1016/j.jscai.2024.102519.
J. Zhang et al., “Artificial intelligence applied in cardiovascular disease: a bibliometric and visual analysis,” Front. Cardiovasc. Med., vol. 11, Feb. 2024, doi: 10.3389/fcvm.2024.1323918.
A. R. Raharja, Jayadi, A. Pramudianto, and Y. Muchsam, “Penerapan Algoritma Decision Tree dalam Klasifikasi Data ‘Framingham’ Untuk Menunjukkan Risiko Seseorang Terkena Penyakit Jantung dalam 10 Tahun Mendatang,” Technologia Journal, vol. 1, no. 1, Feb. 2024, doi: 10.62872/cwgzp962.
I. Arfyanti, T. Bustomi, and I. Haristyawan, “Perbandingan Kinerja Algoritma Klasifikasi Data Mining Untuk Prediksi Penyakit Darah Tinggi,” Building of Informatics, Technology and Science (BITS), vol. 6, no. 3, pp. 1987–1994, Dec. 2024, doi: 10.47065/bits.v6i3.6477.
L. Nafi’ah and Z. Fatah, “Implementasi Algoritma Decision Tree Untuk Pendeteksian Penyakit Jantung,” JUSIFOR : Jurnal Sistem Informasi dan Informatika, vol. 3, no. 2, pp. 160–165, Dec. 2024, doi: 10.70609/jusifor.v3i2.5729.
R. Reátegui, C. Tandazo-Malla, R. Suárez, and L. Ramírez-Cerna, “Cardiovascular risk prediction via ensemble machine learning and oversampling methods,” Sci. Rep., vol. 15, no. 1, p. 43576, Dec. 2025, doi: 10.1038/s41598-025-30895-5.
T. H. Tanjung and M. Furqan, “Classification of Heart Disease Using Support Vector Machine,” sinkron, vol. 8, no. 3, pp. 1803–1812, Jul. 2024, doi: 10.33395/sinkron.v8i3.13904.
M. Fajri and A. Primajaya, “Komparasi Teknik Hyperparameter Optimization pada SVM untuk Permasalahan Klasifikasi dengan Menggunakan Grid Search dan Random Search,” Journal of Applied Informatics and Computing, vol. 7, no. 1, pp. 14–19, Jan. 2023, doi: 10.30871/jaic.v7i1.5004.
R. Guido, S. Ferrisi, D. Lofaro, and D. Conforti, “An Overview on the Advancements of Support Vector Machine Models in Healthcare Applications: A Review,” Information, vol. 15, no. 4, p. 235, Apr. 2024, doi: 10.3390/info15040235.
V. Baviskar, M. Verma, P. Chatterjee, and G. Singal, “Efficient Heart Disease Prediction Using Hybrid Deep Learning Classification Models,” IRBM, vol. 44, no. 5, p. 100786, Oct. 2023, doi: 10.1016/j.irbm.2023.100786.
A. M. Priyatno and T. Widiyaningtyas, “A Systematic Literature Review: Recursive Feature Elimination Algorithms,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 9, no. 2, pp. 196–207, Feb. 2024, doi: 10.33480/jitk.v9i2.5015.
M. A. K. Raiaan et al., “A systematic review of hyperparameter optimization techniques in Convolutional Neural Networks,” Decision Analytics Journal, vol. 11, p. 100470, Jun. 2024, doi: 10.1016/j.dajour.2024.100470.
Y.-W. Chen and C.-J. Lin, “Combining SVMs with Various Feature Selection Strategies,” in Feature Extraction, Berlin, Heidelberg: Springer Berlin Heidelberg, pp. 315–324. doi: 10.1007/978-3-540-35488-8_13.
A. Lakshmanarao, A. Srisaila, and T. S. R. Kiran, “Heart Disease Prediction using Feature Selection and Ensemble Learning Techniques,” in 2021 Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), IEEE, Feb. 2021, pp. 994–998. doi: 10.1109/ICICV50876.2021.9388482.
R. Hidayat, Y. S. Sy, T. Sujana, M. Husnah, H. T. Saputra, and F. Okmayura, “Implementasi Machine Learning Untuk Prediksi Penyakit Jantung Menggunakan Algoritma Support Vector Machine,” BIOS : Jurnal Teknologi Informasi dan Rekayasa Komputer, vol. 5, no. 2, pp. 161–168, Sep. 2024, doi: 10.37148/bios.v5i2.152.
M. Abidin et al., “Classification of Heart (Cardiovascular) Disease using the SVM Method,” Indonesian Journal of Modern Science and Technology, vol. 1, no. 1, pp. 9–15, Jan. 2025, doi: 10.64021/ijmst.1.1.9-15.2025.
L. I. A. Pratama and A. T. Putra, “Optimizing Heart Disease Classification Using the Support Vector Machine Algorithm with Hybrid Particle Swarm and Grey Wolf Optimization,” Recursive Journal of Informatics, vol. 3, no. 1, pp. 26–33, Mar. 2025, doi: 10.15294/rji.v3i1.737.
M. A. Bouqentar et al., “Early heart disease prediction using feature engineering and machine learning algorithms,” Heliyon, vol. 10, no. 19, p. e38731, Oct. 2024, doi: 10.1016/j.heliyon.2024.e38731.
N. Nasution, M. A. Hasan, and F. Bakri Nasution, “Predicting Heart Disease Using Machine Learning: An Evaluation of Logistic Regression, Random Forest, SVM, and KNN Models on the UCI Heart Disease Dataset,” IT Journal Research and Development, vol. 9, no. 2, pp. 140–150, Apr. 2025, doi: 10.25299/itjrd.2025.17941.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Prediksi Risiko Penyakit Jantung Menggunakan Support Vector Machine dengan Seleksi Fitur dan Optimasi Hyperparamete
Pages: 1374-1385
Copyright (c) 2026 Nurhadi Surojudin, Sufajar Butsianto, Rizal Ainun Yaqin

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).






















