Analysis of risk factors for failure of hypertension therapy based on medical history and drug consumption using Random Forest

Authors

  • Desi Irfan Information Technology, Faculty of Computer Science, Ika Bina Institute of Technology and Health
  • Novica Jolyarni D Midwifery, Faculty of Health Sciences, Ika Bina Institute of Technology and Health
  • Halimah Tusakdiyah Harahap Midwifery, Faculty of Health Sciences, Ika Bina Institute of Technology and Health
  • Baginda Restu Al Ghazali Information Systems, Faculty of Computers, Ika Bina Institute of Technology and Health
  • Riswan Syahputra Damanik Information Systems, Faculty of Computers, Ika Bina Institute of Technology and Health

DOI:

https://doi.org/10.55227/ijhet.v2i4.284

Keywords:

Hypertension, Therapy Failure, Random Forest, Machine Learning

Abstract

Cardiovascular disease is a major cause of global morbidity and mortality, with many patients experiencing therapy failure despite treatment. This study analyzes risk factors for failure of antihypertensive therapy based on medical history and drug consumption patterns using the Random Forest algorithm. Retrospective analytical research design using medical record data and structured interviews in hypertensive patients who have undergone treatment for at least one year. The dependent variable was therapy failure, defined as BP ≥140/90 mmHg despite treatment. Independent variables include medical history, drug consumption patterns, and demographic factors. Data is processed by handling missing data, normalization, and feature encoding. The Random Forest model was optimized using GridSearchCV and evaluated based on accuracy, precision, recall and AUC-ROC. Feature importance analysis identifies main risk factors, such as medication adherence, diabetes, and duration of hypertension. The model achieved 86% accuracy (AUC: 0.89), better than logistic regression (accuracy: 78%). These results confirm the importance of patient compliance and comorbidities in hypertension management. This study demonstrates the effectiveness of Random Forest in identifying high-risk patients, with recommendations for prioritization of interventions on medication adherence.

Downloads

Download data is not yet available.

References

Arikunto, S. (2002). Prosedur Penelitian Suatu Pendekatan Praktek. Jakarta: Rineka Cipta.

Barto, A.G. (2019). Reinforcement learning and healthcare optimization. Healthcare Analytics, 29(6), 309-317.

Chen, X., Li, Z., & Zhang, Y. (2023). Random Forest algorithm for predicting hypertension treatment failure: A case study. Journal of Health Informatics, 15(4), 245-259.

Chow, C.K., & Gupta, R. (2022). Prevalence of uncontrolled hypertension in Southeast Asia: A retrospective study. Journal of Cardiovascular Medicine, 31(6), 102-110.

Ernada, S.E. (2005). Challenges to the modern concept of human rights. Journal of Social-Politika, 6(11), 1-12.

Kurniawan, D. (2018). Penerapan Algoritma dalam Data Science. Bandung: Informatika.

Li, S., & Zhang, Q. (2021). Analysis of hypertension treatment failure based on machine learning. Journal of Clinical Hypertension, 23(3), 187-196.

Li, Y., & Wang, H. (2020). Machine learning approaches in hypertension prediction: A systematic review. Medical Informatics, 41(3), 100-110.

Linz, J., & Stephan, A. (2001). Decentralization and Federal Arrangements. In J. Khosrow (Ed.), Crafting Indonesian Democracy. Bandung: Mizan Press.

Nawawi, H. (2012). Metode Penelitian Bidang Sosial. Yogyakarta: Gajah Mada University Press.

Prasetya, R. (2020). Kecerdasan Buatan: Dasar Teori dan Implementasi. Informatika.

Rahardjo, S. (2016). Kecerdasan Buatan: Konsep dan Aplikasi. Jakarta: Salemba Empat.

Rahmathulla, V.K., Das, P., & Ramesh, M. (2007). Growth rate pattern and economic traits of silkworm Bombyx mori L under the influence of folic acid administration. Journal of Applied Science & Environmental Management, 11(4), 81-84.

Rahmathulla, V.K., & Rajan, R.K. (2007). Comparative analysis of hypertension treatment outcomes using machine learning models. Journal of Health Data Science, 18(5), 215-225.

Santoso, T. (2020). Pemrograman Python untuk Data Science dan Machine Learning. PT Elex Media Komputindo.

Siregar, N.S.S. (2016). Tingkat Kesadaran Masyarakat Nelayan terhadap Pendidikan Anak. Jurnal Ilmu Pemerintahan dan Sosial Politik UMA, 4(1), 1-10.

Steel, R.G.D., & Torrie, J.H. (1991). Prinsip dan Prosedur Statistika: Suatu Pendekatan Biometrik (B. Sumantri, Trans.). Jakarta: PT Gramedia Pustaka Utama.

Wang, F., & Zhang, H. (2022). Identifying risk factors for uncontrolled hypertension using a Random Forest algorithm. Journal of Medical Research and Informatics, 20(9), 987-993.

Zhang, L., & Sun, H. (2020). A review of Random Forest applications in healthcare. Journal of Healthcare Data Science, 10(5), 224-233.

Downloads

Published

2025-05-20

How to Cite

Desi Irfan, Novica Jolyarni D, Halimah Tusakdiyah Harahap, Baginda Restu Al Ghazali, & Riswan Syahputra Damanik. (2025). Analysis of risk factors for failure of hypertension therapy based on medical history and drug consumption using Random Forest. International Journal of Health Engineering and Technology, 2(4). https://doi.org/10.55227/ijhet.v2i4.284