The Urban Heat Island (UHI) effect in tropical urban settings arises from interactions among built surfaces, vegetation, water bodies, and urban energy dynamics. This study modeled Land Surface Temperature (LST) in DKI Jakarta using Random Forest and XGBoost optimized with RandomizedSearchCV and 5-fold cross-validation. The analysis used 5,821 grid points at approximately 300 m resolution and five predictors: road density, NDVI, NDBI, NDWI, and distance to green open space. XGBoost slightly outperformed Random Forest, achieving R² = 0.507 and RMSE = 1.830°C compared with R² = 0.497 and RMSE = 1.849°C, although the difference was not statistically significant (Wilcoxon, p = 0.352). The RF-XGBoost ensemble did not improve performance due to very high residual correlation (r = 0.988) and a theoretical ensemble standard deviation reduction of only ~0.3%. SHAP analysis identified NDBI as the dominant predictor (mean|SHAP| = 0.986), with the strongest interaction between NDBI and road density (0.101). Hyperparameter tuning changed model ranking, statistical significance, and the leading SHAP interaction pair.
How to Cite
| Volume | 4 |
| Issue | 2 |
| Year | 2026 |
| Published | 2026-08-30 |
| Pages | 275-291 |
| Section | Articles |

This work is licensed under a Creative Commons Attribution 4.0 International License.
This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
| Article Title | Penerapan Ensemble Machine Learning Random Forest dan XGBoost dengan Explainable Artificial Intelligence (XAI) untuk Prediksi Urban Heat Island dan Land Surface Temperature di DKI Jakarta |
| DOI | 10.58477/cj.v4i2.501 |
| Publication Date | 2026-08-30 |
| Journal | Computer Journal |
| Volume | 4 |
| Issue | 2 |
| Pages | 275-291 |
| Section | Articles |