Application of the LightGBM Algorithm Using Hyperparameter Tuning for Hypertension Prediction

Authors

DOI:

https://doi.org/10.35457/mekara45

Keywords:

Class Weight Balancing, Hypertension, LightGBM, RandomizedSearchCV, Preprocessing

Abstract

Hipertensi merupakan salah satu penyakit kronis yang prevalensinya terus meningkat dan menjadi faktor risiko utama penyakit jantung, stroke, serta komplikasi kardiovaskular lainnya. Deteksi dini yang akurat sangat diperlukan untuk membantu proses diagnosis dan mencegah risiko jangka panjang. Penelitian ini bertujuan mengembangkan model prediksi risiko hipertensi yang akurat dan bebas bias dengan Algoritma LightGBM serta prosedur preprocessing yang terstruktur untuk mencegah data leakage. Pada tahap preprocessing, proses yang berpotensi menimbulkan data leakage— seperti normalisasi dan penanganan ketidakseimbangan kelas—dilakukan hanya setelah pemisahan data (70:30). Ketidakseimbangan kelas ditangani menggunakan Class Weight Balancing. Model dioptimasi melalui RandomizedSearchCV (n_iter = 50, CV = 10), menghasilkan 500 proses pelatihan. Model LightGBM mendapatkan hasil accuracy 99.69%, precision 99.88%, recall 99.64%, F1-score 99.76%, dan ROC-AUC ≈ 1.00; skor ROC-AUC rata-rata pada 10-fold CV sebesar 0.99975 (sd = 0.00045). Analisis interpretabilitas dengan SHAP mengidentifikasi fitur paling berpengaruh meliputi kolesterol total, glukosa rata-rata, trigliserida, LDL, indeks massa tubuh, tekanan darah, dan aktivitas fisik. Kesimpulannya, kombinasi LightGBM dengan penanganan class weight dan hyperparameter tuning menghasilkan model prediksi hipertensi yang sangat akurat dan stabil.

Downloads

Download data is not yet available.

References

[1] K. Aditya Fauzi Samsuri, Ahmad Faqih, “PENERAPAN ALGORITMA NAÏVE BAYES MENGGUNAKAN FITUR FORWARD SELECTION PADA PENYAKIT DIABETES,” J. Ilm. Tek. Inform., vol. 19, no. 1, pp. 83–91, 2025, doi: https://doi.org/10.35457/antivirus.v19i1.4085.

[2] M. Clinic, “High blood pressure (hypertension),” Clinic, Mayo. Accessed: Nov. 05, 2025. [Online]. Available: https://www.mayoclinic.org/diseases-conditions/high-blood-pressure/symptoms-causes/syc-20373410

[3] W. H. Organization, “Hypertension.,” Organization, World Health. Accessed: Nov. 05, 2025. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/hypertension

[4] K. Janowski, K. Michalak, M. Wilkowski, and Ireneusz Jurczak, “Severe course of osmotic demyelination syndrome complicated by recurrent respiratory failure – Case Report,” J. Pre-Clinical Clin. Res., 2025, doi: 10.26444/211303.

[5] A. A. Aouragh, M. Bahaj, and F. Toufik, “Enhancing hypertension prediction : a hybrid machine learning optimization approach,” Indones. J. Electr. Eng. Comput. Sci., vol. 37, no. 1, pp. 347–355, 2025, doi: 10.11591/ijeecs.v37.i1.pp347-355.

[6] D. A. Murtiningsih, B. W. Sari, and I. N. Fajri, “Comparison of Light Gradient Boosting Machine , eXtreme Gradient Boosting , and CatBoost with Balancing and Hyperparameter Tuning for Hypertension Risk Prediction on Clinical Dataset,” J. Appl. Informatics Comput., vol. 9, no. 5, pp. 2753–2763, 2025.

[7] A. Apicella, F. Isgrò, and R. Prevete, “machine learning and transfer learning,” pp. 1–58, 2025.

[8] A. Demircioğlu, “Applying oversampling before cross-validation will lead to high bias in radiomics,” Sci. Rep., vol. 14, no. 1, pp. 1–11, 2024, doi: 10.1038/s41598-024-62585-z.

[9] G. Ke et al., “LightGBM : A Highly Efficient Gradient Boosting Decision Tree,” no. Nips, pp. 1–9, 2017.

[10] dan A. S. W. Erna Daniati, Rina Firliana, DUKUNGAN KEPUTUSAN DENGAN PENDEKATAN MACHINE LEARNING. Universitas Nusantara PGRI Kediri, 2024.

[11] A. K. T. Astha Singh, Pawan Singh, “A comprehensive survey on machine learning techniques for android malware detection,” Inf., vol. 12, no. 5, pp. 1–17, 2021, doi: 10.3390/info12050185.

[12] I. Print, “Comprehensive Analysis of Grid and Randomized Search on Dataset Performance,” vol. 3412, pp. 77–83, 2024, doi: 10.55581/ejeas.1581494.

[13] S. Bagui, D. Mink, S. Bagui, S. Subramaniam, and D. Wallace, “Resampling Imbalanced Network Intrusion Datasets to Identify Rare Attacks,” Futur. Internet, vol. 15, no. 4, 2023, doi: 10.3390/fi15040130.

[14] Y. Wang and T. Wang, “applied sciences Application of Improved LightGBM Model in Blood Glucose Prediction,” 2020.

[15] S. Khan, W. N. Ismail, and S. Alsalamah, “The Impact of Class Weight Optimization on Improving Machine Learning Outcomes in Identifying COVID-19 Specific ECG Patterns,” vol. 2, no. Biostec, pp. 562–567, 2024, doi: 10.5220/0012413100003657.

[16] A. Ristyawan, A. Nugroho, and T. K. Amarya, “Optimasi Preprocessing Model Random Forest Untuk Prediksi Stroke,” J. Tek. Inform. dan Sist. Inf., vol. 12, no. 1, 2025.

[17] A. Rianti, N. Wachid, A. Majid, and A. Fauzi, “CRISP-DM : Metodologi Proyek Data Science,” pp. 107–114, 2023.

[18] M. Z. Siambaton and A. M. Husein, “Menganalisis Data Kesehatan Global : Pendekatan Analisis Data Eksplorasi Visual,” Data Sci. Indones., vol. 1, no. 2, pp. 41–49, 2022, doi: 10.47709/dsi.v1i2.1315.

Downloads

Published

2026-11-28

How to Cite

[1]
“Application of the LightGBM Algorithm Using Hyperparameter Tuning for Hypertension Prediction”, antivirus, vol. 20, no. 2, pp. 157–172, Nov. 2026, doi: 10.35457/mekara45.

Similar Articles

1-10 of 43

You may also start an advanced similarity search for this article.