A Leakage-Aware Ensemble Framework for Imbalanced Tabular Data: Mitigating SMOTE Contamination in Hotel Cancellation Prediction

Authors

  • Gibran Maulana Syamroni Universitas Teknologi Mataram
  • Bahtiar Imran Universitas Teknologi Mataram
  • Surni Erniwati Universitas Teknologi Mataram
  • Zaeniah Universitas Teknologi Mataram
  • Wenti Ayu Wahyuni Universitas Teknologi Mataram

DOI:

https://doi.org/10.69916/comtechno.v4i1.514

Keywords:

Ensemble Learning, Data Leakage, SMOTE, Machine Learning, Tabular Data

Abstract

Predictive modeling on large-scale, imbalanced tabular data is frequently compromised by target leakage and improper resampling, leading to inflated performance metrics. While tree-based ensemble methods like Random Forest (RF) and XGBoost are widely deployed, their architectural divergence in handling complex behavioral anomalies under strict class imbalance remains underexplored. This study proposes a leakage-aware ensemble framework to mitigate SMOTE contamination and target leakage in hotel cancellation prediction. Using a rigorous CRISP-DM pipeline on 119,390 records, we applied SMOTE exclusively to the training set and engineered six behavioral features to capture non-linear contradictions, such as the counter-intuitive 99.36% cancellation rate in non-refund deposits. We systematically benchmarked RF (bagging) against XGBoost (boosting) using stratified 5-fold cross-validation, hyperparameter optimization, and loss curve monitoring. Results demonstrate that XGBoost structurally outperforms RF in minority-class detection, achieving superior Recall (0.6659), F1-Score (0.6607), and AUC-ROC (0.8657), with significantly lower variance (0.0035). Conversely, RF exhibited higher Precision (0.6588) and better cross-validation stability during hyperparameter search. Crucially, feature importance analysis revealed a structural divergence: RF prioritized temporal variables (lead_time), while XGBoost emphasized behavioral commitment signals (parking, special requests). These findings confirm that gradient boosting’s sequential residual-correction mechanism is inherently more robust than variance-reduction bagging for imbalanced tabular data containing complex, non-linear anomalies. The proposed leakage-free framework not only resolves methodological flaws in prior studies but also provides a reliable, proactive risk-scoring foundation for integrating real-time decision support systems in production environments.

References

E. Rahmawati and G. S. Nurohim, “Optimization of Prediction for Cancellation of Hotel Room Reservation Using Decision Tree with Feature Selection and Resampling,” J. Sist. Inf. Bisnis, vol. 15, no. 2, pp. 211–215, 2025, doi: 10.14710/vol15iss2pp211-215.

Z. Zafitri and M. I. Jambak, “Karakteristik Pembatalan Reservasi Kamar Hotel Pada Online Travel Agent Menggunakan Algoritma C4.5,” Indones. J. Comput. Sci., vol. 12, no. 4, pp. 2010–2023, 2023, doi: 10.33022/ijcs.v12i4.3268.

A. A. Afolorunso, B. E. Aimuel, A. O. Abiodun, A. O. Adesina, and S. A. Ajagbe, “Development of a Machine Learning–Enabled Decision Support Framework for Hotel Booking Cancellation Prediction,” Adv. Multidiscip. Sci. Res. J. Publ., vol. 16, no. 3, pp. 23–36, 2025, doi: 10.22624/aims/cisdi/v16n3p2.

Y. Azhar, G. A. Mahesa, and M. C. Mustaqim, “Prediksi pembatalan pemesanan hotel menggunakan optimalisasi hiperparameter pada algoritme Random Forest,” J. Teknol. dan Sist. Komput., vol. 9, no. 1, pp. 15–21, 2021, doi: 10.14710/jtsiskom.2020.13790.

P. Silvestre, N. Antonio, and P. Carrasco, “Navigating uncertainty: enhancing hotel cancellation predictions with adaptive machine learning,” Inf. Technol. Tour., vol. 28, no. 1, 2026, doi: 10.1007/s40558-025-00349-9.

Saifudin, “Komparasi Akurasi Metode Random Forest Dan Deep Learning pada Reservasi Hotel,” IMTechno J. Ind. Manag. Technol., vol. 4, no. 2, pp. 124–128, 2023, doi: 10.31294/imtechno.v4i2.2026.

Y. Zhao and P. Qin, “Hotel Booking Cancellation Prediction by Feature Interaction and Machine Learning,” 2026, pp. 315–320. doi: 10.1145/3779475.3779521.

B. K. and B. Dwarakanath, “Hybrid model for detection of brain tumor using convolution neural networks,” Comput. Sci. Inf. Technol., vol. 5, no. 1, pp. 84–90, 2024, doi: 10.11591/csit.v5i1.pp84-90.

A. Herrera, Á. Arroyo, A. Jiménez, and Á. Herrero, “Forecasting hotel cancellations through machine learning,” Expert Syst., vol. 41, no. 9, pp. 1–19, 2024, doi: 10.1111/exsy.13608.

D. Hartanti, A. Ichsan Pradana, and S. Lestari, “Komparasi Algoritma Decision Tree, SVM dan ANN untuk Reservasi Hotel,” Duta.com : Jurnal Ilmiah Teknologi Informasi dan Komunikasi, vol. 16, pp. 21–27, 2023, doi: 10.47701/dutacom.v16i1.2647

Z. Luo, Hotel Cancellation Rate Prediction: A Machine Learning Based Prediction Model, no. Iciaai. Atlantis Press International BV, 2025. doi: 10.2991/978-94-6463-823-3_31.

E. W. Solang and 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: Indonesian Journal of Machine Learning and Computer Science, vol. 6, no. January, pp. 193–204, 2026, doi: 10.57152/malcom.v6i1.2466.

Y. Liu, “Research for Hotel Reservation Cancellation Based on Prediction Model,” Adv. Econ. Manag. Polit. Sci., vol. 153, no. 1, pp. 154–162, 2024, doi: 10.54254/2754-1169/2024.19518.

Andy Hermawan, Aji Saputra, Nabila Lailinajma, Reska Julianti, Timothy Hartanto, and Troy Kornelius Daniel, “Predicting Hotel Booking Cancellations Using Machine Learning for Revenue Optimization,” Router J. Tek. Inform. dan Terap., vol. 3, no. 1, pp. 37–48, 2025, doi: 10.62951/router.v3i1.400.

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

F. H. Qani’ah, R. Ramadhan, A. C. Firdaus, and I. Veritawati, “Prediksi Pembatalan Reservasi Hotel Menggunakan Algoritma Naive Bayes,” J. Informatics Adv. Comput., vol. 4, no. 1, pp. 76–80, 2023, doi: 10.35814/jiac.v4i1.5499

S. Tripathi, D. Muhr, M. Brunner, H. Jodlbauer, M. Dehmer, and F. Emmert-Streib, “Ensuring the Robustness and Reliability of Data-Driven Knowledge Discovery Models in Production and Manufacturing.,” Front. Artif. Intell., vol. 4, p. 576892, 2021, doi: 10.3389/frai.2021.576892.

R. A. Casonatto, T. De Pádua Grillo Souza, and A. M. Mariano, “Quality and Risk Management in Data Mining: A CRISP-DM Perspective.,” Procedia Comput. Sci., vol. 242, pp. 161–168, 2024, doi: 10.1016/j.procs.2024.08.257.

N.-H. Anh-Khôi, L. Hà-Duy-Nguyên, and T. Vĩnh-Khang, “Artificial Intelligence Applied to Address Tourism Challenges: Predicting Hotel Room Cancellations,” in Proceedings of the 11th International Conference on Emerging Challenges: Smart Business and Digital Economy 2023 (ICECH 2023), Atlantis Press International BV, 2023, pp. 434–445. doi: 10.2991/978-94-6463-348-1_33.

N. S. Thomas and S. Kaliraj, “An Improved and Optimized Random Forest Based Approach to Predict the Software Faults,” SN Comput. Sci., vol. 5, no. 5, 2024, doi: 10.1007/s42979-024-02764-x.

K. Rajendran, M. Jayabalan, and V. Thiruchelvam, “Predicting breast cancer via supervised machine learning methods on class imbalanced data,” Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 8, pp. 54–63, 2020, doi: 10.14569/IJACSA.2020.0110808.

B. Imran, H. Hambali, A. Subki, Z. Zaeniah, A. Yani, and M. R. Alfian, “Data Mining Using Random Forest, Naïve Bayes, and Adaboost Models for Prediction and Classification of Benign and Malignant Breast Cancer,” J. Pilar Nusa Mandiri, vol. 18, no. 1, pp. 37–46, 2022, doi: 10.33480/pilar.v18i1.2912.

B. Imran, E. Wahyudi, A. Subki, S. Salman, and A. Yani, “Classification of stroke patients using data mining with adaboost, decision tree and random forest models,” Ilk. J. Ilm., vol. 14, no. 3, pp. 218–228, 2022, doi: 10.33096/ilkom.v14i3.1328.218-228.

V. Gupta, “The influencing role of social media in the consumer’s hotel decision-making process,” Worldw. Hosp. Tour. Themes, 2019, doi: 10.1108/WHATT-04-2019-0019.

Downloads

Published

2026-07-21

PlumX Metrics

Scite Metrics

Altmetric

How to Cite

Syamroni, G. M., Imran, B., Surni Erniwati, Zaeniah, & Wenti Ayu Wahyuni. (2026). A Leakage-Aware Ensemble Framework for Imbalanced Tabular Data: Mitigating SMOTE Contamination in Hotel Cancellation Prediction. Journal Computer and Technology, 4(1), 29–47. https://doi.org/10.69916/comtechno.v4i1.514

Issue

Section

Articles