Journal
Performance Comparison of Random Forest (RF) and Classification and Regression Trees (CART) for Hotel Star Rating Prediction
Scientific Journal of Informatics · Vol. 11 No. 3 (2024) · pp. 733–748
- ISSN
- 2407-7658, 2460-0040
- Published
- 2024-10-22
- Publisher
- Universitas Negeri Semarang
- Language
- eng
Abstract
Purpose: This study proposes to evaluate the effectiveness of Random Forest (RF) compared to Classification and Regression Trees (CART) in prediction of hotel star ratings. The objective is to identify the algorithm that provides the most reliable and accurate classification outcomes based on diverse hotel attributes in accordance with the standard categorization of star hotel categories. This is necessary due to the important role of accurate star ratings in guiding consumer choices and enhancing competitive positioning in the hospitality industry. Method: This study conducted a comprehensive dataset about Hotel in Banyumas Regency, including location, facilities, the size of rooms, type of rooms, price of rooms, and customer reviews, subjected to training through both RF and CART algorithms. Both algorithms are evaluated using accuracy, precision, recall, and F1 score. Additionally, both algorithms due to in the same preprocessing while performing hyperparameter tuning improve the efficacy of each model. Result: The results showed that RF achieved the best overall accuracy and robustness than CART across all tests conducted. Furthermore, RF also outperformed CART in classification effectiveness among classes, including enhanced precision and recall scores across multiple stars rating categories, signifying increased generalization and consistency in classification tasks. RF classifier consistently surpassed the CART classifier in terms of both accuracy and F1-score throughout all random states and test sizes, with a highest score of 0.9932 at a random state of 100 and a test size of 0.4. The most reliable results were obtained using RF with 42 random states and a test size of 0.2, resulting in an accuracy of 0.9909, precision of 1.0, recall of 1.0, and F1 score of 1.0. Simultaneously, CART shows values of 0.9818, 1.0, 1.0, and 1.0, respectively, while maintaining the same variation. This consistent performance, regardless of fluctuations, illustrates the robustness and suitability of RF for classification tasks compared to CART. Novelty: This study offered new insights about the implementation of machine learning about hotel star rating predictions using RF and CART algorithms. Also, the novelty of the collected hotel dataset used in this study. A detailed comparative analysis was also provided, contributing to the existing literature by showing the effectiveness of RF over CART for this specific application. Future studies could explore the integration of additional machine learning methods to further enhance prediction accuracy and operational efficiency in the hospitality industry.
Keywords
Collaboration network of the authors
17 authors · 37 co-authorship links · 3 across different organisations
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
- Institut Teknologi Sepuluh Nopember
- Telkom University
- Tun Hussein Onn University of Malaysia
- State University of Semarang
- Affiliation unknown
- Different organisations
- Same organisation
- Affiliation unknown
- Thicker line = more joint articles · bigger circle = more articles
Show as table
| Co-author | Organisation | Joint articles |
|---|---|---|
| Muhammad Raafi'u Firmansyah | Telkom University | 3 |
| Much Aziz Muslim | Tun Hussein Onn University of Malaysia | 2 |
| Maylinna Rahayu Ningsih | Affiliation unknown | 2 |
| Annisaa Utami | Telkom University | 1 |
| Nanik Suciati | Institut Teknologi Sepuluh Nopember | 1 |
| Imam Kuswardayan | Institut Teknologi Sepuluh Nopember | 1 |
| Moch Zawaruddin Abdullah | Institut Teknologi Sepuluh Nopember | 1 |
| M. Faris Al Hakim | Affiliation unknown | 1 |
| Yopi Julia Nurriski | Affiliation unknown | 1 |
| Fathimah Az Zahra Sanjani | Affiliation unknown | 1 |
| Dwika Ananda Agustina Pertiwi | Affiliation unknown | 1 |
| Kamilah Ahmad | Affiliation unknown | 1 |
| Rofik Rofik | State University of Semarang | 1 |
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.