Implementasi XGBoost dengan Hyperparameter Tuning Optuna untuk Estimasi Harga Akomodasi di Bali Berbasis Mobile
DOI:
https://doi.org/10.46880/jmika.Vol10No2.pp717-728Keywords:
Accommodation Price, Machine Learning, XGBoost, Hyperparameter Tuning, OptunaAbstract
The recovering tourism industry in Bali has triggered a surge in accommodation demand, but this also creates the problem of daily rental price inconsistency. Subjective pricing by property managers often leads to price disparities in the market. Previous studies generally used linear regression or Random Forest for property price prediction, but not many have integrated hyperparameter optimization using Optuna and mobile implementation for accommodation price estimation in Bali. Therefore, the novelty and main contribution of this study is the integration of the XGBoost model optimized using Optuna into a mobile application to generate real-time accommodation price estimations. This study aims to implement the XGBoost algorithm to estimate the rental prices of accommodations (hotels, villas, and resorts) in Bali based on location and facility variables. The research data was obtained through web scraping on Online Travel Agent (OTA) platforms, resulting in 4,618 clean data rows. To optimize accuracy and prevent overfitting, a Hyperparameter Tuning technique using the Optuna framework was applied to find the best parameter combination. The model's performance was evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Coefficient of Determination (R²) metrics. The results showed the optimized XGBoost model achieved high accuracy with an R² of 0.797, RMSE of 0.3752, and MAE of 0.3007. System testing through a User Acceptance Test (UAT) also recorded an acceptance rate of 89.2% (Very Good). In conclusion, the developed prediction model is highly accurate and applicable as an objective price reference instrument for both property managers and tourists.
References
Akiba, T., Sano, S., Yanase, T., Ohta, T., & Koyama, M. (2019). Optuna: A next-generation hyperparameter optimization framework. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2623–2631. https://doi.org/10.1145/3292500.3330701
Badan Pusat Statistik Provinsi Bali. (2025). Provinsi Bali dalam angka 2025. Badan Pusat Statistik Provinsi Bali. https://bali.bps.go.id/
Bergstra, J., & Bengio, Y. (2012). Random search for hyper-parameter optimization. Journal of Machine Learning Research, 13, 281–305.
Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 13-17-August-2016, 785–794. https://doi.org/10.1145/2939672.2939785
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. https://doi.org/10.7717/PEERJ-CS.623
Claesen, M., & De Moor, B. (2015). Hyperparameter Search in Machine Learning. ArXiv Preprint ArXiv:1502.02127. http://arxiv.org/abs/1502.02127
Fauzi, M. R., Handika, M., Awinanto, A., Wahidin, A. J., Rahmatullah, B., & Kurniawati, I. (2025). Analisis Perbandingan Kinerja Algoritma Linear Regression, Random Forest, dan XGBoost dalam Prediksi Harga Rumah. RIGGS: Journal of Artificial Intelligence and Digital Business, 4(4), 1541–1548. https://doi.org/10.31004/riggs.v4i4.3620
Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning. MIT Press.
Han, J., Kamber, M., & Pei, J. (2011). Data mining:Concepts and techniques (3rd ed.). Morgan Kaufmann.
Hodson, T. O. (2022). Root-mean-square error (RMSE) or mean absolute error (MAE): when to use them or not. Geoscientific Model Development, 15(14), 5481–5487. https://doi.org/10.5194/gmd-15-5481-2022
Kamil, M., Lestari Lokapitasari B, P., Lutfi, D., & Ilmawan, B. (2023). Implementasi framework flutter pada rancang bangun aplikasi konsultasi dokter hewan. Buletin Sistem Informasi Dan Teknologi Islam, 4(4), 296–305.
Megawati, N. K. R., Wisnawa, I. M. B., & Trianingrum, N. N. N. (2024). Pengaruh lokasi harga kamar dan kualitas pelayanan terhadap keputusan tamu menginap di Capella Ubud Bali. Bali Journal of Hospitality, Tourism and Culture Research, 1(2).
Pressman, R. S. (2010). Software Engineering: A Practitioner’s Approach (7th ed.). www.mhhe.com/pressman
Rizquina, A. Z., & Ratnasari, C. I. (2023). Implementasi web scraping untuk pengambilan data pada website e-commerce. Jurnal Teknologi Dan Sistem Informasi Bisnis, 5(4), 377–383. https://doi.org/10.47233/jteksis.v5i4.913
Sari, W. B., & Prabowo, D. (2025). Analisis Perbandingan Prediksi Harga Rumah Dengan Random Forest, Gradient Boosting, dan XGBoost. Intellect: Indonesian Journal of Learning and Technological Innovation, 4(1), 42–51. https://doi.org/10.57255/intellect.v4i1.1385
Wicaksono, F., Prasety, R. R., & Fadilah, M. N. A. (2025). Analisis Perbandingan Framework Pengembangan Aplikasi Mobile: Studi Kasus Flutter dan React Native. INDOTERA-Indonesian Dissemination of Engineering and Applied Technology Research Applications, 1(1), 17-25.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 I Gede Igo Wisnu Wardana, I Wayan Candra Winetra, Ida Bagus Adisimakrisna Peling, Ni Gusti Ayu Putu Harry Saptarini

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










