Analisis Perbandingan Model Machine Learning untuk Prediksi Penyakit Jantung
DOI:
https://doi.org/10.29407/b4yzdb65Keywords:
logistic regression, heart disease, machine learning, prediction model, random forestAbstract
Penyakit jantung merupakan salah satu penyebab utama kematian di dunia yang memerlukan deteksi dini secara akurat. Penelitian ini bertujuan untuk menganalisis dan memprediksi risiko penyakit jantung menggunakan dataset kesehatan publik melalui pendekatan machine learning. Metode yang digunakan melibatkan perbandingan dua algoritma klasifikasi, yaitu Random Forest dan Logistic Regression. Data diproses melalui tahapan pembersihan, pembagian dataset (80:20), serta normalisasi khusus untuk regresi logistik. Hasil evaluasi menunjukkan bahwa algoritma Random Forest memberikan performa sempurna dengan akurasi 100%, sementara Logistic Regression menghasilkan akurasi sebesar 87,80%. Penelitian ini menyimpulkan bahwa Random Forest lebih unggul dalam menangkap pola medis yang kompleks, sementara Logistic Regression unggul dalam aspek interpretabilitas koefisien fitur.
Downloads
References
[1] WHO, "Cardiovascular diseases (CVDs) Fact Sheets," 2024.
[2] Anjeli, L., & Rizki, F. 2025. Analisis Prediksi Penyakit Jantung Menggunakan Perbandingan Algoritma Machine Learning. JTINFO: Jurnal Teknik Informatika, 4(2), 262-269.
[3] Jasman, T. Z., dkk. 2022. Perbandingan Logistic Regression, Random Forest, dan Perceptron pada Klasifikasi Pasien Gagal Jantung. CSRID Journal, 14(3), 271-286.
[4] Nasution, N., dkk. 2025. An Evaluation of Logistic Regression, Random Forest, SVM, and KNN Models on the UCI Heart Disease Dataset. IT Journal Research and Development.
[5] Putri, S. K. N. A., dkk. 2025. Penerapan Hyperparameter Tuning pada Model Klasifikasi untuk Prediksi Risiko Penyakit Jantung. MALCOM: Indonesian Journal of Machine Learning and Computer Science, 5(4).
[6] Yuliasari, S., & Rahmatulloh, A. 2025. Performance Analysis and Accuracy of Machine Learning Algorithms for Heart Disease Prediction. Telematika, 22(3).
[7] Alexander, M. 2025. Penerapan Algoritma Random Forest untuk Deteksi Penyakit Jantung dan Optimisasi Menggunakan Feature Importance. Bachelor Thesis, Universitas Multimedia Nusantara.
[8] Wahidin, A. J., dkk. 2024. Machine Learning Untuk Klasifikasi Penyakit Jantung. Aisyah Journal of Informatics and Electrical Engineering, 6(1).
[9] Simanjuntak, M. S., dkk. 2025. A Comparative Study of Machine Learning and Deep Learning Models for Heart Disease Classification. Journal of Applied Informatics and Computing, 9(6).
[10] Putri, I. P. 2021. Analisis Performa Metode K-Nearest Neighbor (KNN) dan Crossvalidation pada Data Penyakit Cardiovascular. Indonesian Journal of Data Science, 2(1), 21-28.
[11] Farida, L. N., & Bahri, S. 2024. Klasifikasi Gagal Jantung Menggunakan Metode SVM (Support Vector Machine). Komputika: Jurnal Sistem Komputer, 13(2).
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Juli Sulaksono, Danar Putra Pamungkas, Danang Wahyu Widodo

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Copyright on any article is retained by the author(s).
- The author grants the journal, right of first publication with the work simultaneously licensed under a Creative Commons Attribution 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.
- The article and any associated published material is distributed under the Creative Commons Attribution-ShareAlike 4.0 International License





