Prediksi Harga Rumah Berbasis Machine Learning dengan Explainable AI untuk Interpretabilitas Faktor Penentu
Abstract
House prices are determined by numerous interrelated factors, making it essential to develop prediction methods that are not only accurate but also interpretable by property business practitioners, investors, and policymakers. This study aims to construct a house price prediction model using a machine learning approach integrated with Explainable Artificial Intelligence (XAI) to produce predictions that are more transparent and comprehensibly interpretable. The data used in this study were derived from real property listings, incorporating several key variables including building area, land area, number of bedrooms, number of bathrooms, and garage capacity. Four machine learning algorithms were evaluated and compared, namely Linear Regression, Random Forest, XGBoost, and Gradient Boosting. The performance of each model was assessed using multiple evaluation metrics, comprising Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), coefficient of determination (R²), and Mean Absolute Percentage Error (MAPE). Experimental results demonstrate that the Random Forest algorithm achieved the best performance, yielding an R² value of 0.7636, MAE of IDR 1.305 billion, RMSE of IDR 2.037 billion, and MAPE of 25.84%. The best-performing model was subsequently analyzed using SHapley Additive exPlanations (SHAP) to provide both global and local model interpretability, as well as Local Interpretable Model-agnostic Explanations (LIME) to explain individual predictions at the instance level. The analysis reveals that building area and land area are the most influential factors in determining house prices. The proposed approach demonstrates a measurable improvement in model transparency, rendering prediction outcomes more comprehensible and trustworthy for end users.
References
N. A. Cahyani Putri and D. B. Arianto, “Komparasi Penggunaan Information Gain Pada Machine Learning untuk Memprediksi Harga Rumah di Jabodetabek,” J. Sains dan Teknol., vol. 5, no. 3, pp. 756–762, 2024, doi: 10.55338/saintek.v5i3.2052.
E. Fitri, “Analisis Perbandingan Metode Regresi Linier, Random Forest Regression dan Gradient Boosted Trees Regression Method untuk Prediksi Harga Rumah,” J. Appl. Comput. Sci. Technol., vol. 4, no. 1, pp. 58–64, 2023, doi: 10.52158/jacost.v4i1.491.
S. Emilita, P. S. Rahayu, S. R. Larasati, G. Taufiq, and J. T. Kumalasari, “Penerapan Algoritma Random Forest Dalam Memprediksi Harga Properti di Jakarta Selatan Berdasarkan Karakteristik Fisik dan Lokasi,” J. Minfo Polgan, vol. 14, no. 2, pp. 3415–3421, 2025, doi: 10.33395/jmp.v14i2.15735.
H. Li, “House Price Prediction and Analysis Based on Random Forest and XGBoost Models,” Highlights Business, Econ. Manag., vol. 21, pp. 934–938, 2023, doi: 10.54097/hbem.v21i.14837.
A. Fauzi, N. Maulidah, R. Supriyadi, H. Nalatissifa, and S. Diantika, “Prediksi Harga Properti Di Indonesia Menggunakan Algoritma Random Forest,” RIGGS J. Artif. Intell. Digit. Bus., vol. 2, no. 2, 2024, doi: 10.61233/riggs.v2i2.367.
A. N. Rais, Warjiyono, I. Alfarobi, S. W. Hadi, and W. Kurniawan, “Analisa Prediksi Harga Jual Rumah Menggunakan Algoritma Random Forest Machine Learning,” JURSISTEKNI (Jurnal Sist. Inf. dan Teknol. Informasi), vol. 6, no. 2, pp. 416–423, 2024, doi: 10.52005/jursistekni.v6i2.323.
B. Wulan Sari and D. Prabowo, “Analisis Perbandingan Prediksi Harga Rumah Dengan Random Forest, Gradient Boosting, dan XGBoost,” Intellect Indones. J. Learn. Technol. Innov., vol. 4, no. 1, pp. 42–51, 2025, doi: 10.57255/intellect.v4i1.1385.
M. Sajid, K. Hussain, S. Hussain, and A. Hussain, “Interpreting Black-Box Models: A Review on Explainable Artificial Intelligence,” Cognit. Comput., vol. 16, no. 1, pp. 45–74, 2024, doi: 10.1007/s12559-023-10179-8.
I. Lenaers and L. De Moor, “Exploring XAI Techniques for Enhancing Model Transparency and Interpretability in Real Estate Rent Prediction: A Comparative Study,” Financ. Res. Lett., vol. 58, p. 104306, 2023, doi: 10.1016/j.frl.2023.104306.
W. K. O. Ho, “eXplainable Machine Learning for Real Estate: XGBoost and Shapley Values in Price Prediction,” Civ. Eng. J., vol. 11, no. 5, pp. 2116–2133, 2025, doi: 10.28991/CEJ-2025-011-05-022.
F. Trindade Neves, M. Aparicio, and M. de Castro Neto, “The Impacts of Open Data and eXplainable AI on Real Estate Price Predictions in Smart Cities,” Appl. Sci., vol. 14, no. 5, p. 2209, 2024, doi: 10.3390/app14052209.
I. M. G. A. B. Putra and I. K. G. Suhartana, “Implementasi Algoritma Random Forest Regression dalam Sistem Prediksi Harga Rumah di Jabodetabek,” J. Nas. Teknol. Inf. dan Apl., vol. 4, no. 1, pp. 27–38, 2025, doi: 10.24843/JNATIA.2025.v04.i01.p04.
W. Anggara, “Daftar Harga Rumah.” Kaggle, 2020. [Online]. Available: https://www.kaggle.com/datasets/wisnuanggara/daftar-harga-rumah
D. Praseptian M, Sinawati, and K. Harianto, “Perbandingan Penanganan Missing Value pada Data Numerik Survei Kepuasan Pengguna Lulusan,” Decod. J. Pendidik. Teknol. Inf., vol. 5, no. 2, pp. 789–798, 2025, [Online]. Available: https://journal.umkendari.ac.id/decode/article/view/1262
D. Benaya, “Implementasi Random Forest dalam Klasifikasi Kanker Paru-Paru,” JOINTER J. Informatics Eng., vol. 5, no. 01, pp. 27–31, 2024, doi: 10.53682/jointer.v5i01.331.
M. B. S. Qolbi, T. N. Puteh, R. Rivandi, and C. Rozikin, “Prediksi Harga Rumah di Jakarta Pusat Menggunakan Algoritma Machine Learning,” J. Ilmu Komput. dan Bisnis, vol. 16, no. 1, pp. 16–24, 2025, doi: 10.47927/jikb.v16i1.840.
Copyright (c) 2026 Hadijah, Wiwin Handoko, Rizty Maulida Badri

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

.png)


