Perbandingan Algoritma Random Forest Dan Xgboost Untuk Klasifikasi Penyakit Jantung Berdasarkan Data Medis
DOI:
https://doi.org/10.37859/jf.v15i2.9927
Abstract
Penyakit jantung merupakan salah satu penyebab kematian terbanyak di dunia, sehingga deteksi dini menjadi penting untuk mengurangi risiko fatal. Penelitian ini bertujuan untuk membandingkan kinerja dua algoritma pembelajaran mesin, yaitu Random Forest dan XGBoost, dalam mengklasifikasikan penyakit jantung berdasarkan data medis. Dataset yang digunakan tersedia untuk umum dan mencakup fitur-fitur darah seperti usia, tekanan, kadar kolesterol, denyut jantung maksimum, hasil EKG, dan tanda-tanda talasemia. Proses penelitian melibatkan eksplorasi data (EDA), pembersihan, transformasi, dan pelatihan model menggunakan kedua algoritma tersebut. Evaluasi dilakukan dengan menggunakan metrik seperti akurasi, presisi, recall, skor F1, dan ROC AUC. Hasilnya menunjukkan bahwa Random Forest berkinerja lebih baik dalam hal sensitivitas dan akurasi dibandingkan dengan XGBoost, terutama dalam mengidentifikasi pasien yang benar-benar menderita penyakit jantung. Temuan ini menunjukkan bahwa metode ensemble berdasarkan keputusan pohon, Random Forest, dapat menjadi pendekatan yang efektif untuk sistem prediksi penyakit jantung dini berdasarkan data medis.
Downloads
References
Anshori, M., Regasari, A., & Putri, M. D. (2018). Optimasi Algoritma Klasifikasi Menggunakan Random Forest dan XGBoost. Jurnal Teknologi Informasi, 5(2), 120-129.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Muhammad Rayenra Azthi Pramudya, Celvin Arafat, Muhammad Cavin Ramadhan, Fikri Abdul Jafar, Edi Ismanto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright Notice
An author who publishes in the Jurnal FASILKOM (teknologi inFormASi dan ILmu KOMputer) agrees to the following terms:
- Author retains the copyright and grants the journal the right of first publication of the work simultaneously licensed under the Creative Commons Attribution-ShareAlike 4.0 License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal
- Author is 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 the acknowledgement of its initial publication in this journal.
- Author is permitted and encouraged to post his/her 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 the published work (See The Effect of Open Access).
Read more about the Creative Commons Attribution-ShareAlike 4.0 Licence here: https://creativecommons.org/licenses/by-sa/4.0/.










_(1).png)



