Predictive Analysis of Hotel Reservation Cancellation usingRandom Forest Based on PySpark to Support Decision-Makingin the Hospitality Industry

Authors

  • ID Vellisya Afifa Qonita IPB University, Bogor, Indonesia
  • ID Siti Laila Nurjannah IPB University, Bogor, Indonesia
  • ID Indira Sistamarien IPB University, Bogor, Indonesia
  • ID Silvia Ariani Daulay IPB University, Bogor, Indonesia
  • ID Gema Parasti Mindara IPB University, Bogor, Indonesia https://orcid.org/0000-0002-4061-9241
  • ID Aditya Wicaksono IPB University, Bogor, Indonesia https://orcid.org/0000-0001-9656-3614

DOI:

https://doi.org/10.30812/bite.v8i1.6492

Keywords:

Big Data, Business Intelligence, Hotel Booking Cancellation, PySpark, Random Forest

Abstract

Background: Hotel booking cancellation may cause financial losses and reduce hotel operational effectiveness.
Objective: This study aims to analyze the factors influencing hotel reservation cancellations and develop a cancellation
prediction model to support decision-making in the hospitality industry.
Methods: The research method used is CRISP-DM (Cross Industry Standard Process for Data Mining) with a Big Data
and Machine Learning approach based on PySpark. The dataset used is the Hotel Booking Demand Dataset consisting of 119,390 reservation records. Data processing stages include data cleaning, duplicate data removal, categorical data encoding, feature assembling, and model development using Spark MLlib. The algorithms used in this study are Logistic Regression as a baseline model and Random Forest Classifier as the main prediction model.
Result: The results show that Random Forest achieved the best performance with an Accuracy of 78.42%, an F1 Score
of 76.83%, and a ROC AUC of 80.04%. Based on feature importance analysis, the most influential factors affecting
reservation cancellation are lead time, market segment, and total special requests.
Conclusion: The developed model can be used as a basis for implementing reservation risk scoring, enabling hotels to identify high-risk bookings and formulate more effective cancellation mitigation strategies

Downloads

Download data is not yet available.

References

[1] R. Kivania, A. Novianti, dan R. Firmansyah, “Analisis Implementasi Peranan Sistem Reservasi Pada Bisnis

Di Sektor Industri,” Student Scientific Creativity Journal, vol. 1, no. 2, pp. 286–299, Mar. 30, 2023. doi:

10.55606/sscj-amik.v1i2.1277

[2] Z. Zafitri dan M. I. Jambak, “Karakteristik Pembatalan Reservasi Kamar Hotel Pada Online Travel Agent

Menggunakan Algoritma C4.5,” The Indonesian Journal of Computer Science, vol. 12, no. 4, Aug. 30,

2023. doi: 10.33022/ijcs.v12i4.3268

[3] E. W. Solang dan F. X. Adu, “Machine learning evaluation for hotel cancellation prediction with threshold

adjustment and cost-based evaluation evaluasi machine learning untuk prediksi pembatalan hotel dengan threshold adjustment dan cost-based evaluation,” MALCOM: Journal of Machine Learning and Computer

Science, vol. 6, no. 1, pp. 193–204, 2026. doi: 10.57152/malcom.v6i1.2466

[4] S. Ohoira dan S. Monica, “Prediksi Pembatalan Pemesanan Hotel menggunakan Algoritma Machine

Learning,” Prosiding Sains dan Teknologi, vol. 4, no. 1, pp. 495–503, 2025.

[5] Y. Azhar, G. A. Mahesa, dan M. C. Mustaqim, “Prediction of hotel bookings cancellation using hyperparameter optimization on Random Forest algorithm,” Jurnal Teknologi dan Sistem Komputer, vol. 9, no. 1,

pp. 15–21, Jan. 31, 2021. doi: 10.14710/jtsiskom.2020.13790

[6] J. Christian, I. Ernawati, dan N. Chamidah, “Implementasi penggunaan algoritma categorical boosting

(catboost) dengan optimisasi hiperparameter dalam memprediksi pembatalan pesanan kamar hotel,”

Prosiding Seminar Nasional Mahasiswa Bidang Ilmu Komputer dan Aplikasinya, vol. 3, no. 2, pp. 835–844,

Aug. 20, 2022.

[7] H. Herryani dan A. Y. Nugroho, Buku Ajar Pengantar Industri Perhotelan. Pekanbaru: CV. Bravo Press

Indonesia, Aug. 2025.

[8] F. A. Kurniawan dan A. R. A’yun, “Penerapan Sistem Reservasi Digital Untuk Meningkatkan Efisiensi

Layanan Restoran: Studi Kasus Restoran Rasa Nusantara,” PROSENAMA, vol. 5, pp. 209–225, 2025.

[9] K. Z. Ramadhan dan B. Suharto, “Transformasi Digital Di Bidang Hospitalitas: Menjelajahi Peran

Teknologi dalam Memperlancar Operasional Hotel,” Jurnal Ilmiah Hospitality Management, vol. 14, no. 2,

pp. 181–192, Jun. 30, 2024. doi: 10.22334/jihm.v14i2.281

[10] J. D. Devi dan K. Rambabu, “An Intelligent Hotel Booking Cancellation Prediction System Using Machine Learning Techniques,” International Journal of Engineering Research and Science & Technology, vol. 22, no. 2, pp. 388–400, Apr. 3, 2026.

[11] A. Hermawan et al., “Predicting Hotel Booking Cancellations Using Machine Learning for Revenue

Optimization,” Router : Jurnal Teknik Informatika dan Terapan, vol. 3, no. 1, pp. 37–48, Mar. 12, 2025.

doi: 10.62951/router.v3i1.400

[12] N. A. Putro et al., “Prediction of Hotel Booking Cancellation Using Deep Neural Network and Logistic

Regression Algorithm,” Jurnal Techno Nusa Mandiri, vol. 18, no. 1, pp. 1–8, Mar. 15, 2021. doi: 10.

33480/techno.v18i1.2056

[13] J. Prasetya, S. I. Fallo, dan M. A. Aprihartha, “Stacking Machine Learning Model for Predict Hotel

Booking Cancellations,” Jurnal Matematika, Statistika dan Komputasi, vol. 20, no. 3, pp. 525–537, May 15,

2024. doi: 10.20956/j.v20i3.32619

[14] J. Sun, “Hotel booking cancellation and machine learning,” Advances in Engineering Innovation, vol. 15, no. 1, pp. 45–62, Feb. 7, 2025. doi: 10.54254/2977-3903/2025.20826

[15] O. Sanda, M. Pavlidis, dan N. Polatidis, “A Regulatory Readiness Assessment Framework for Blockchain

Adoption in Healthcare,” Digital, vol. 2, no. 1, pp. 65–87, Mar. 11, 2022. doi: 10.3390/digital2010005

[16] N. Li, X. Liu, dan F. Meng, “Machine Learning Techniques in Tourism and Hospitality Research: A

Critical Assessment,” Journal of Travel Research, p. 00 472 875 251 401 912, Dec. 31, 2025. doi: 10.1177/

00472875251401912

[17] R. Cahyadi dan B. Setiawan, “Analisis Pemasaran Digitalisasi Berbasis AI pada Industri Perhotelan di

Indonesia,” Jurnal Sains Terapan Pariwisata, vol. 10, no. 3, pp. 279–287, Oct. 31, 2025. doi: 10.56743/

jstp.v10i3.690

[18] C. Agustina dan E. Rahmawati, “Perbandingan Teknik Resample pada Algoritma K-NN dan SVM untuk Prediksi Pembatalan Pemesanan Kamar Hotel,” Jurnal Teknologi Informasi dan Terapan, vol. 10, no. 2, pp. 102–107, Dec. 28, 2023. doi: 10.25047/jtit.v10i2.333

[19] I. Mohammed dan B. Denizci Guillet, “Stakeholder perspectives on integrating explainable artificial

intelligence into hotel revenue management system,” Tourism Economics, vol. 32, no. 4, pp. 804–824, Jun.

2026. doi: 10.1177/13548166251382289

[20] A. K. C. S. Eeti dan T. Singh, “Real-Time Data Processing: An Analysis of PySpark’s Capabilities,”

IJRAR-International Journal of Research and Analytical Reviews (IJRAR), E-ISSN, vol. 8, no. 3, pp. 2348–

1269, 2021.

[21] A. Rianti, N. W. A. Majid, dan A. Fauzi, “CRISP-DM: Metodologi Proyek Data Science,” Prosiding

Seminar Nasional Teknologi Informasi dan Bisnis, pp. 106–114, Jul. 25, 2023.

[22] M. Fitriani, G. F. Nama, dan M. Mardiana, “Implementasi Association Rule Dengan Algoritma Apriori

Pada Data Peminjaman Buku UPT Perpustakaan Universitas Lampung Menggunakan Metodologi CRISPDM,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 10, no. 1, pp. 41–49, Jan. 7, 2022. doi:

10.23960/jitet.v10i1.2263

[23] M. Mendes dan T. Farinha, “MIDA—Method for Industrial Data Analysis Based on CRISP-DM,” Machine Learning and Knowledge Extraction, vol. 8, no. 4, p. 108, Apr. 18, 2026. doi: 10.3390/make8040108

[24] R. Hidayat, “Product segmentation for apparel msmes using k-means and crisp-dm approach,” vol. 2, no. 2, pp. 93–104, 2026.

[25] F. H. Wardhani dan K. M. Lhaksmana, “Predicting Employee Attrition Using Logistic Regression With

Feature Selection,” Sinkron, vol. 7, no. 4, pp. 2214–2222, Oct. 3, 2022. doi: 10.33395/sinkron.v7i4.11783

[26] S. Kurniawan, A. Nugroho, dan S. Suherman, “Analisis Faktor yang Mempengaruhi Promosi Karyawan Menggunakan Random Forest pada Dataset Employee Promotion,” Jurnal Pustaka AI (Pusat Akses Kajian

Teknologi Artificial Intelligence), vol. 5, no. 2, pp. 177–187, Aug. 2, 2025. doi: 10.55382/jurnalpustakaai.

v5i2.1115

[27] V. M. A. Simalango dan W. F. Senjaya, “Evaluasi Algoritma Decision Tree dan Random Forest serta Efektivitas Feature Selection dalam Memprediksi Kesehatan Mental,” Jurnal STRATEGI-Jurnal Maranatha,

vol. 7, no. 1, pp. 201–215, 2025.

[28] J. R. Sari et al., “Evaluasi Model Klasifikasi dalam Deteksi Penipuan Transaksi: Studi Kasus pada Data

Tidak Seimbang,” Jurnal Gaussian, vol. 14, no. 2, pp. 565–576, Dec. 10, 2025. doi: 10.14710/j.gauss.

14.2.565-576

[29] O. Y. Inonu, K. Magda, dan A. Amarudin, “Analisis Kinerja Algoritma Random Forest Dengan Model

Machine Learning Pada Dataset Penyakit Diabetes,” EXPERT: Jurnal Manajemen Sistem Informasi dan

Teknologi, vol. 15, no. 1, p. 1, Jun. 4, 2025. doi: 10.36448/expert.v15i1.4312

[30] A. Adrian dan I. Verawati, “Analisis Performa Logistic Regression dan Random Forest dalam Klasifikasi Kelayakan Penerimaan Kredit,” The Indonesian Journal of Computer Science Research, vol. 4, no. 2,

pp. 148–158, Jul. 23, 2025. doi: 10.59095/ijcsr.v4i2.205

Downloads

Published

2026-06-30

Issue

Section

Articles

How to Cite

Qonita, V. A. ., Nurjannah, S. L. ., Sistamarien, I. ., Daulay, S. A. ., Mindara, G. P., & Wicaksono, A. . (2026). Predictive Analysis of Hotel Reservation Cancellation usingRandom Forest Based on PySpark to Support Decision-Makingin the Hospitality Industry. Jurnal Bumigora Information Technology (BITe), 8(1), 15-28. https://doi.org/10.30812/bite.v8i1.6492