Model Prediksi Risiko Kesehatan Perkotaan Berbasis Lingkungan dengan XGBoost
DOI:
https://doi.org/10.31294/coscience.v5i2.9109Keywords:
air quality, health risk, XGBoost, fine-tuning, machine learning, environmental variablesAbstract
Poor urban air quality is a major public health concern, especially in highly urbanized areas. This study aims to predict health risks associated with air pollution using machine learning techniques based on environmental variables. The dataset used, Urban Air Quality and Health Impact, contains 1,000 rows and 46 columns, including temperature, humidity, wind speed, dew point, ultraviolet (UV) index, and health risk scores from major U.S. cities. As an improvement over previous studies using linear regression and Random Forest (R-squared 0.89; Mean Squared Error/MSE 0.65), this research implements an optimized Extreme Gradient Boosting (XGBoost) model. The model was fine-tuned using Randomized Search on key hyperparameters and evaluated with an 80:20 data split. It achieved an R-squared of 0.9692 and MSE of 0.0122. Dew point and wind speed were identified as the most influential features. Although synthetic, the dataset reflects environmental patterns similar to Indonesian urban areas. This study does not adopt a text mining framework but instead uses a supervised regression approach based on environmental features. Its main novelty lies in the first application of an optimized XGBoost model using complex variables such as feels-like temperature to estimate urban health risk. Limitations include the absence of real-world validation with Indonesian data and the lack of analysis on interactions between variables
Downloads
References
Abdullah, M., & Yaqoob, S. (2024). Urban Air Quality and Health Impact Analysis. Kaggle. https://doi.org/https://doi.org/10.34740/kaggle/dsv/9341077
Asnawi, M. F., Fitriyanto, N., & Pamoengkas, M. A. (2025). The Application Of XGBoost Classification For Fraud Detection In Credit Card. Clean Energy and Smart Technology, 03(02), 41–48.
Bentéjac, C., Csörgő, A., & Martínez-Muñoz, G. (2021). A comparative analysis of gradient boosting algorithms. In Artificial Intelligence Review (Vol. 54, Issue 3). Springer Netherlands. https://doi.org/10.1007/s10462-020-09896-5
Brimicombe, C., Conway, F., Portela, A., Lakhoo, D., Roos, N., Gao, C., Solarin, I., & Jackson, D. (2024). A scoping review on heat indices used to measure the effects of heat on maternal and perinatal health. BMJ Public Health, 2(1), e000308. https://doi.org/10.1136/bmjph-2023-000308
Castro, E., Healy, J., Liu, A., Wei, Y., Kosheleva, A., & Schwartz, J. (2025). Interactive effects between extreme temperatures and PM2.5 on cause-specific mortality in thirteen U.S. states. Environmental Research Letters , 20(1), 14011. https://doi.org/10.1088/1748-9326/ad97d1
Chicco, D., Warrens, M. J., & Jurman, G. (2021). The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. PeerJ Computer Science, 7, 1–24. https://doi.org/10.7717/PEERJ-CS.623
Fauzianto, F. S., & Ali, M. (2024). Analisis Komparatif Pemantauan Kualitas Udara Ambien di Surabaya Pada Tahun 2023. Ocean Engineering : Jurnal Ilmu Teknik Dan Teknologi Maritim, 3(2), 01–13. https://doi.org/10.58192/ocean.v3i2.2085
Garmini, R., & Purwana, R. (2020). Polusi Udara Dalam Rumah Terhadap Infeksi Saluran Pernafasan Akut pada Balita di TPA Sukawinatan Palembang. Jurnal Kesehatan Lingkungan Indonesia, 19(1), 1. https://doi.org/10.14710/jkli.19.1.1-6
Inayah, N. (2025). Hubungan polutan udara ambien dengan kejadian ISPA pada balita. Jurnal Kesehatan Tambusai, 6(2), 59–64. https://doi.org/10.31004/jkt.v6i2.44236
Krishnan, R., Thiruvengadam, K., Jayabal, L., Selvaraju, S., Watson, B., Malaisamy, M., Nagarajan, K., Tripathy, S. P., Chinnaiyan, P., & Chandrasekaran, P. (2022). An influence of dew point temperature on the occurrence of Mycobacterium tuberculosis disease in Chennai, India. Scientific Reports, 12(1), 1–10. https://doi.org/10.1038/s41598-022-10111-4
Lev, A. (2022). XGBoost versus Random Forest. Qwak’s Blog. https://www.qwak.com/post/xgboost-versus-random-forest
Márovics, G., Pozsgai, É., Németh, B., Czigány, S., Soós, S., Németh-Simon, S., & Girán, J. (2024). Weather Variability and COPD: A Risk Estimation Identified a Vulnerable Sub-population in Hungary. In Vivo, 38(4), 1690–1697. https://doi.org/10.21873/invivo.13619
Munggaran, G. A., Kusnoputranto, H., & Ariyanto, J. (2024). Korelasi Polusi Udara dengan Insiden Pneumonia Balita di DKI Jakarta pada Tahun 2017-2020. Jurnal Promotif Preventif, 7(1), 123–135. https://doi.org/10.47650/jpp.v7i1.1071
Nova, L. S., Siahainenia, H. E., & Novianti, P. (2023). Gambaran Kejadian ISPA Pada Anak Balita di Sekitar Industri Baja Menurut Jarak dan Kondisi Lingkungan. Jurnal Bidang Ilmu Kesehatan, 13(1), 24–33. https://doi.org/10.52643/jbik.v13i1.2521
Ozili, P. K. (2023). The acceptable R-square in empirical modelling for social science research. Social Research Methodology and Publishing Results: A Guide to Non-Native English Speakers, 115769, 134–143. https://doi.org/10.4018/978-1-6684-6859-3.ch009
Pathak, S., Kuchkorov, T., Yusupov, I., Makhkamov, B., Zaynidinov, K., & Ather, D. (2024). Urban Air Quality and Health Impact Analysis Based on Machine Learning Models. Proceedings - International Conference on Information Science and Communications Technologies - Applications, Trends and Opportunities, ICISCT 2024, 357–362. https://doi.org/10.1109/ICISCT64202.2024.10957146
Pramudhyta, N. A., & Rohman, M. S. (2024). Perbandingan Optimasi Metode Grid Search dan Random Search dalam Algoritma XGBoost untuk Klasifikasi Stunting. Jurnal Media Informatika Budidarma, 8(1), 19. https://doi.org/10.30865/mib.v8i1.6965
Rahayuningtyas, D., Pascawati, N., Alfanan, A., & Dharmawan, R. (2025). Model prediksi kasus DBD berdasarkan perubahan iklim: Studi kohort dengan data NASA di Kabupaten Bantul. Jurnal Kesehatan Lingkungan Indonesia, 24(1), 84–94. https://doi.org/10.14710/jkli.24.1.84-94
Rosatul Umah, & Eva Gusmira. (2024). Dampak Pencemaran Udara terhadap Kesehatan Masyarakat di Perkotaan. Profit: Jurnal Manajemen, Bisnis Dan Akuntansi, 3(3), 103–112. https://doi.org/10.58192/profit.v3i3.2246
Sapna, A., Qolbi, L., Salsabilla, R., Salsilla, R., Anggriyani, R., & Ardi. (2024). Dampak dan pencegahan polusi udara akibat kebakaran lahan terhadap kesehatan masyarakat di Padang (Sumatera Barat). Prosiding Seminar Nasional Biologi, 3(2), 912–923. https://doi.org/10.24036/prosemnasbio/vol3/797
Subaşı, N. (2024). Comprehensive Analysis of Grid and Randomized Search on Dataset Performance. European Journal of Engineering and Applied Sciences, 7(2), 77–83. https://doi.org/10.55581/ejeas.1581494
World Health Organization. (2021). WHO global air quality guidelines: Particulate matter (PM2.5 and PM10), ozone, nitrogen dioxide, sulfur dioxide and carbon monoxide. In World Health Organization. WHO. https://www.who.int/publications/i/item/9789240034228
Zhou, L., Zhu, Q., Chen, Q., Wang, P., & Huang, H. (2025). Predicting hospital outpatient volume using XGBoost: a machine learning approach. Scientific Reports, 15(1), 17028. https://doi.org/10.1038/s41598-025-01265-y
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Muhammad Kahfi Aulia, Eka Utaminingsih, Nanang Prihatin

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


















