Pengembangan Sistem Deteksi Dini Gagal Jantung Berbasis Naïve Bayes

Authors

  • Rika Rokhana Politeknik Elektronika Negeri Surabaya
  • Moch. Rochmad Politeknik Elektronika Negeri Surabaya
  • Aldorama Satriagung Aziz Politeknik Elektronika Negeri Surabaya

DOI:

https://doi.org/10.30595/jrre.v7i2.26995

Keywords:

HFrEF, Naïve Bayes, ESP32, Gagal jantung, Elektrokardiogram

Abstract

Gagal jantung, khususnya Heart Failure with Reduced Ejection Fraction (HFrEF), merupakan salah satu penyebab kematian tertinggi di dunia. Deteksi dini sangat penting untuk mencegah komplikasi lanjutan, namun sering kali bergantung pada pemeriksaan medis lanjutan yang tidak selalu mudah diakses. Penelitian ini bertujuan untuk merancang sistem prediksi dini penyakit gagal jantung secara praktis dengan menggunakan lima parameter utama, yaitu usia, jenis kelamin, tekanan darah, detak jantung maksimal, dan kemiringan segmen ST. Sistem dibangun menggunakan mikrokontroler ESP32 yang terintegrasi dengan sensor AD8232 untuk deteksi sinyal EKG, sensor MPX5050GP untuk tekanan darah, dan sensor MAX30102 untuk detak jantung. Data hasil pengukuran diklasifikasikan menggunakan metode Naïve Bayes untuk memprediksi risiko gagal jantung secara otomatis. Perangkat ini dirancang agar mudah digunakan, cukup dengan meletakkan jari di atas sensor, memasang manset, dan menempelkan elektroda. Hasil pengujian terhadap 30 pasien menunjukkan akurasi prediksi sebesar 96,6%, dengan rata-rata tingkat eror pengukuran sebesar 2,34% untuk tekanan darah dan 2,63% untuk detak jantung.

References

[1] [1] F. R. Muharram et al., "The 30 Years of Shifting in The Indonesian Cardiovascular Burden-Analysis of The Global Burden of Disease Study," J. Epidemiol. Glob. Health, vol. 14, no. 1, pp. 193–212, Mar. 2024, doi: 10.1007/s44197-024-00187-8.

[2] G. Savarese et al., "Global burden of heart failure: a comprehensive and updated review of epidemiology," Cardiovasc. Res., vol. 118, no. 17, pp. 3272–3287, Jan. 2023, doi: 10.1093/cvr/cvac013.

[3] Q. Xu et al., "Machine Learning–Based Risk Factor Analysis and Prediction Model Construction for the Occurrence of Chronic Heart Failure: Health Ecologic Study," JMIR Med. Inform., vol. 13, p. e64972, 2025, doi: 10.2196/64972.

[4] W. S. P. Harmadha et al., "Explaining the increase of incidence and mortality from cardiovascular disease in Indonesia: A global burden of disease study analysis (2000–2019)," PLoS One, vol. 18, no. 12, p. e0294128, Dec. 2023, doi: 10.1371/journal.pone.0294128.

[5] K. F. Docherty et al., "Heart failure diagnosis in the general community—who, how and when? A clinical consensus statement of the Heart Failure Association (HFA) of the ESC," Eur. J. Heart Fail., vol. 25, no. 8, pp. 1185–1198, 2023, doi: 10.1002/ejhf.2946.

[6] T. Kawaji et al., "Clinical significance of ST-segment depression during atrial fibrillation rhythm for subsequent heart failure events," Eur. Heart J. Open, vol. 3, no. 3, p. oead060, Jun. 2023, doi: 10.1093/ehjopen/oead060.

[7] U. Khalid and Y. Birnbaum, "Clinical Significance of Upsloping ST Depression on Resting Electrocardiogram," Ann. Noninvasive Electrocardiol., vol. 21, no. 2, pp. 202–205, Mar. 2016, doi: 10.1111/anec.12273.

[8] C. Miguel, S. Constanza, and V. Esther, "Hypertension and Heart Failure, a Dangerous Relationship," Eur. Soc. Cardiol., 2025. [Online]. Available: https://www.escardio.org/Councils/Council-for-Cardiology-Practice-(CCP)/Cardiopractice/hypertension-and-heart-failure-a-dangerous-relationship#:~:text=HTN%20is%20the%20most%20prevalent,in%20women [Accessed: Jun. 14, 2025].

[9] T. A. Shrout et al., "Association of orthostatic blood pressure response with incident heart failure: The Framingham Heart Study," PLoS One, vol. 17, no. 4, p. e0267057, Apr. 2022, doi: 10.1371/journal.pone.0267057.

[10] Y. Wang et al., "Association of cardiorespiratory fitness with adverse outcomes in patients with and without atrial fibrillation: a prospective cohort study," Int. J. Med. Sci., vol. 22, no. 11, pp. 2830–2838, 2025, doi: 10.7150/ijms.110802.

[11] A. Ruiz-García et al., "Heart Failure Prevalence Rates and Its Association with Other Cardiovascular Diseases and Chronic Kidney Disease: SIMETAP-HF Study," J. Clin. Med., vol. 12, no. 15, p. 4924, Jul. 2023, doi: 10.3390/jcm12154924.

[12] Regitz-Zagrosek V., “Sex and Gender Differences in Heart Failure”, Int J Heart Fail, 13;2(3):157-181, Apr. 2020, doi: 10.36628/ijhf.2020.0004.

[13] J. D. Wang, "Naïve Bayes is an interpretable and predictive machine learning algorithm in predicting osteoporotic hip fracture in-hospital mortality compared to other machine learning algorithms," PLOS Digit. Health, vol. 4, no. 1, p. e0000529, Jan. 2025, doi: 10.1371/journal.pdig.0000529.

[14] I. Mahmud et al., "Cardiac Failure Forecasting Based on Clinical Data Using a Lightweight Machine Learning Metamodel," Diagnostics, vol. 13, no. 15, Jul. 2023, Art. no. 15, doi: 10.3390/diagnostics13152540.

[15] M. D. Teja and G. M. Rayalu, "Optimizing heart disease diagnosis with advanced machine learning models: a comparison of predictive performance," BMC Cardiovasc. Disord., vol. 25, p. 212, 2025, doi: 10.1186/s12872-025-04627-6.

[16] E. Burns and R. Buttner, “The ST Segment,” Life in the Fastlane, 2024. [Online]. Available: https://litfl.com/st-segment-ecg-library/ [Accessed: Dec. 28, 2024].

[17] Polar, "Heart Rate When Running: What’s Normal and How to Improve," Polar Blog, Aug. 2022. [Online]. Available: https://www.polar.com/en/guide/heart-rate-when-running. [Accessed: Jun. 16, 2025].

[18] F. Soriano, “Heart Failure Prediction Dataset,” Kaggle, 2021. [Online]. Available: https://www.kaggle.com/datasets/fedesoriano/heart-failure-prediction [Accessed: Dec. 24, 2024].

Downloads

Published

2025-12-05

How to Cite

Rokhana, R., Moch. Rochmad, & Aziz, A. S. (2025). Pengembangan Sistem Deteksi Dini Gagal Jantung Berbasis Naïve Bayes. Jurnal Riset Rekayasa Elektro, 7(2), 151–162. https://doi.org/10.30595/jrre.v7i2.26995