Development and Evaluation of a Content-Based Tourism Recommendation System Using TF-IDF and Cosine Similarity: A Case Study of Labuan Bajo, Indonesia
Keywords:
Downloads
Abstract
The increasing number of tourism destinations in Labuan Bajo provides tourists with diverse travel alternatives but also creates challenges in identifying destinations that match their individual preferences. This study aims to develop a natural tourism recommendation system using an item-based Content-Based Filtering approach integrated with Term Frequency–Inverse Document Frequency (TF-IDF) and Cosine Similarity. The proposed system utilizes a dataset comprising 50 natural tourism destinations, with textual descriptions serving as the primary features for recommendation generation. The research involves data preprocessing, TF-IDF vectorization, similarity calculation, recommendation generation, and performance evaluation using Precision@5. The experimental results demonstrate that TF-IDF effectively represents distinctive destination characteristics, while Cosine Similarity identifies relationships between destinations based on their textual features. The highest similarity score of 0.91 was obtained between Komodo Island and Rinca Island, indicating substantial similarities in their descriptive characteristics. Furthermore, the recommendation system achieved an average Precision@5 of 0.80 across five evaluation scenarios, with the highest precision of 1.00 for Rinca Island and the lowest of 0.60 for Pink Beach. The proposed system was also implemented as an interactive web application that enables users to explore ranked destination recommendations based on their selected reference destinations. These findings demonstrate the potential of integrating TF-IDF and Cosine Similarity to support personalized natural tourism recommendations and facilitate destination exploration in Labuan Bajo.
References
Albab, J. F. U., & Rohman, A. N. (2026). Recommendation system Yogyakarta tourism using TF-IDF and cosine similarity methods with word normalizer. Journal of Applied Informatics and Computing, 10(1), 935–945. https://doi.org/10.30871/jaic.v10i1.11751
Al Fararni, K., Nafis, F., Aghoutane, B., Yahyaouy, A., Riffi, J., & Sabri, A. (2021). Hybrid recommender system for tourism based on big data and AI: A conceptual framework. Big Data Mining and Analytics, 4(1), 47–55. https://doi.org/10.26599/BDMA.2020.9020015
Alyari, F., & Jafari Navimipour, N. (2018). Recommender systems: A systematic review of the state of the art literature and suggestions for future research. Kybernetes, 47(5), 985–1017. https://doi.org/10.1108/K-06-2017-0196
Ardin, A. (2024a, January 7). Lampaui target, 423.847 turis kunjungi Labuan Bajo sepanjang 2023. detikBali. https://www.detik.com/bali/wisata/d-7129064/lampaui-
Ardin, A. (2024b, January 4). Naik drastis! 300.488 turis kunjungi TN Komodo sepanjang 2023. detikBali. https://www.detik.com/bali/wisata/d-7123901/naik-drastis-300-488-turis-kunjungi-tn-komodo-sepanjang-2023
Aryanto, A. D., Primadewi, A., & Prabowo, N. A. (2025). Rekomendasi wisata Kabupaten Magelang menggunakan metode content-based filtering dan location-based service. Jurnal Fasilkom, 15(1), 172–178. https://doi.org/10.37859/jf.v15i1.8156
Chen, L.-C. (2024). An extended TF-IDF method for improving keyword extraction in traditional corpus-based research: An example of a climate change corpus. Data & Knowledge Engineering, 153, Article 102322. https://doi.org/10.1016/j.datak.2024.102322
Fakhri, & Nugroho, K. (2025). Sistem rekomendasi wisata di Pekalongan melalui chatbot dengan framework Rasa. Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi), 9(1), 68–77. https://doi.org/10.35870/jtik.v9i1.3000
Faurina, R., & Sitanggang, E. (2023). Implementasi metode content-based filtering dan collaborative filtering pada sistem rekomendasi wisata di Bali. Techno.Com, 22(4), 870–881. https://doi.org/10.33633/tc.v22i4.8556
HaCohen-Kerner, Y., Miller, D., & Yigal, Y. (2020). The influence of preprocessing on text classification using a bag-of-words representation. PLOS ONE, 15(5), Article e0232525. https://doi.org/10.1371/journal.pone.0232525
Hamid, R. A., Albahri, A. S., Alwan, J. K., Al-qaysi, Z. T., Albahri, O. S., Zaidan, A. A., Alnoor, A., Alamoodi, A. H., & Zaidan, B. B. (2021). How smart is e-tourism? A systematic review of smart tourism recommendation system applying data management. Computer Science Review, 39, Article 100337. https://doi.org/10.1016/j.cosrev.2020.100337
Herlawati, H., Hendharsetiawan, A. A., Uskono, B. M., & Acah, A. (2026). Evaluasi kinerja metode content-based filtering pada sistem rekomendasi destinasi wisata dan rute pendakian berbasis web. Journal of Students' Research in Computer Science, 7(1), 85–98. https://doi.org/10.31599/thhffe58
Huda, C., Heryadi, Y., Lukas, & Budiharto, W. (2024). Smart tourism recommender system modeling based on hybrid technique and content boosted collaborative filtering. IEEE Access, 12, 131794–131808. https://doi.org/10.1109/ACCESS.2024.3450882
Huda, C., Ramadhan, A., Trisetyarso, A., Abdurachman, E., & Heryadi, Y. (2021). Smart tourism recommendation model: A systematic literature review. International Journal of Advanced Computer Science and Applications, 12(12). https://doi.org/10.14569/IJACSA.2021.0121222
Islahuddin, Eppang, B. M., Som, A. P. M., Masatip, A., & Salim, M. A. M. (2022). Adaptation and collaboration of local community in super priority destination tourism program in Labuan Bajo. Etnosia: Jurnal Etnografi Indonesia, 7(1), 15–28. https://doi.org/10.31947/etnosia.v7i1.19708
Javed, U., Shaukat, K., Hameed, I. A., Iqbal, F., Alam, T. M., & Luo, S. (2021). A review of content-based and context-based recommendation systems. International Journal of Emerging Technologies in Learning, 16(3), 274–306. https://doi.org/10.3991/ijet.v16i03.18851
Kadhim, A. I. (2019). Survey on supervised machine learning techniques for automatic text classification. Artificial Intelligence Review, 52(1), 273–292. https://doi.org/10.1007/s10462-018-09677-1
Kim, S.-W., & Gil, J.-M. (2019). Research paper classification systems based on TF-IDF and LDA schemes. Human-centric Computing and Information Sciences, 9, Article 30. https://doi.org/10.1186/s13673-019-0192-7
Ko, H., Lee, S., Park, Y., & Choi, A. (2022). A survey of recommendation systems: Recommendation models, techniques, and application fields. Electronics, 11(1), Article 141. https://doi.org/10.3390/electronics11010141
Kontogianni, A., & Alepis, E. (2020). Smart tourism: State of the art and literature review for the last six years. Array, 6, Article 100020. https://doi.org/10.1016/j.array.2020.100020
Kowsari, K., Jafari Meimandi, K., Heidarysafa, M., Mendu, S., Barnes, L., & Brown, D. (2019). Text classification algorithms: A survey. Information, 10(4), Article 150. https://doi.org/10.3390/info10040150
Kusumaningrum, L. B., & Rohman, A. N. (2026). Tourism recommendation system for Labuan Bajo using hybrid TF-IDF and Sentence-BERT with semantic feature boosting. Journal of Applied Informatics and Computing, 10(5), 4670–4681. https://jurnal.polibatam.ac.id/index.php/JAIC/article/view/13109
Lops, P., Jannach, D., Musto, C., Bogers, T., & Koolen, M. (2019). Trends in content-based recommendation. User Modeling and User-Adapted Interaction, 29(2), 239–249. https://doi.org/10.1007/s11257-019-09231-w
Masmur, S. S., Fajri, I. N., & Rohman, A. N. (2026). Sistem rekomendasi wisata kuliner Labuan Bajo dengan perbandingan metode similarity content-based filtering. Sistemasi: Jurnal Sistem Informasi, 15(8), 3287–3302. https://sistemasi.ftik.unisi.ac.id/index.php/stmsi/article/view/6830
Maulana, A., Rohman, A. N., & Pristyanto, Y. (2026). Sistem rekomendasi destinasi tempat wisata Provinsi Aceh menggunakan metode content based filtering. Sistemasi: Jurnal Sistem Informasi, 15(2), 418–432. https://doi.org/10.32520/stmsi.v15i2.5500
Melyani, C. A. (2022). Hotel recommendation system with content-based filtering approach (Case study: Hotel in Yogyakarta on Nusatrip website). J Statistika: Jurnal Ilmiah Teori dan Aplikasi Statistika, 15(1). https://doi.org/10.36456/jstat.vol15.no1.a5375
Minarni, M., & Sigit, S. (2023). Pengembangan sistem informasi rekomendasi wisata Kotawaringin Timur berbasis web menggunakan metode item-based collaborative filtering. Jurnal Ilmiah Informatika Global, 13(3). https://doi.org/10.36982/jiig.v13i3.2695
Nurpila, S., Ismail, H. A., & Prakoso, S. A. (2024). Rancang bangun rekomendasi tempat wisata di Kabupaten Rembang berbasis website menggunakan metode content based filtering. INTECOMS: Journal of Information Technology and Computer Science, 7(4), 1149–1159.
Oyadila, S., Abdullah, D., & Razi, A. (2025). Implementasi content-based filtering dengan TF-IDF dan cosine similarity untuk sistem rekomendasi destinasi wisata di Aceh Tengah. Rabit: Jurnal Teknologi dan Sistem Informasi Univrab, 10(2), 1329–1339. https://doi.org/10.36341/rabit.v10i2.6532
Pahlevi, M. R. (2024). Human rights violations in the development of the super priority tourism destination Labuan Bajo. Jurnal Pemikiran Sosiologi, 11(1), 26–48. https://doi.org/10.22146/jps.v11i1.97299
Panda, D. K., & Ray, S. (2022). Approaches and algorithms to mitigate cold start problems in recommender systems: A systematic literature review. Journal of Intelligent Information Systems, 59(2), 341–366. https://doi.org/10.1007/s10844-022-00698-5
Panjaitan, C. H. P., Pangaribuan, L. J., & Cahyadi, C. I. (2022). Analisis metode k-nearest neighbor menggunakan Rapid Miner untuk sistem rekomendasi tempat wisata Labuan Bajo. REMIK: Riset dan E-Jurnal Manajemen Informatika Komputer, 6(3), 534–541. https://doi.org/10.33395/remik.v6i3.11701
Pasaribu, Y. S., & Sitompul, T. S. (2023). Rekomendasi destinasi wisata Kota Bandung menggunakan algoritma collaborative filtering. Mutiara: Jurnal Penelitian dan Karya Ilmiah, 1(6), 382–392. https://doi.org/10.59059/mutiara.v1i6.736
Prasetyo, B., Atina, V., & Purwanto, E. (2021). Sistem rekomendasi pariwisata dengan metode content based recommendation berbasis website (Studi kasus: Dinas Pariwisata dan Budaya Surakarta). DutaCom, 14(1), 51–58. https://doi.org/10.47701/dutacom.v14i1.2017
Pratiwi, D., Asrianda, A., & Rosnita, L. (2025). Penerapan metode content-based filtering dalam sistem rekomendasi objek wisata di Aceh Tamiang. Jurnal Ilmu Komputer dan Informatika, 4(2), 85–96. https://doi.org/10.54082/jiki.169
Qaiser, S., & Ali, R. (2018). Text mining: Use of TF-IDF to examine the relevance of words to documents. International Journal of Computer Applications, 181(1), 25–29. https://doi.org/10.5120/ijca2018917395
Renjith, S., Sreekumar, A., & Jathavedan, M. (2020). An extensive study on the evolution of context-aware personalized travel recommender systems. Information Processing & Management, 57(1), Article 102078. https://doi.org/10.1016/j.ipm.2019.102078
Rizki, A. S., Tjahyanto, A., & Trialih, R. (2019). Comparison of stemming algorithms on Indonesian text processing. TELKOMNIKA (Telecommunication Computing Electronics and Control), 17(1), 95–102. https://doi.org/10.12928/telkomnika.v17i1.10183
Roetzel, P. G. (2019). Information overload in the information age: A review of the literature from business administration, business psychology, and related disciplines with a bibliometric approach and framework development. Business Research, 12(2), 479–522. https://doi.org/10.1007/s40685-018-0069-z
Roy, D., & Dutta, M. (2022). A systematic review and research perspective on recommender systems. Journal of Big Data, 9, Article 59. https://doi.org/10.1186/s40537-022-00592-5
Rumaisa, F. (2025). Evaluation of Indonesian language stemmer algorithms: A comparative analysis. Brilliance: Research of Artificial Intelligence, 5(1), 21–25. https://doi.org/10.47709/brilliance.v5i1.5679
Salsabilla, C., & Utomo, D. W. (2025). Sistem rekomendasi wisata Kabupaten Pekalongan dengan content based filtering. Sistemasi: Jurnal Sistem Informasi, 14(1), 262–270. https://sistemasi.ftik.unisi.ac.id/index.php/stmsi/article/view/4839
Silveira, T., Zhang, M., Lin, X., Liu, Y., & Ma, S. (2019). How good your recommender system is? A survey on evaluations in recommendation. International Journal of Machine Learning and Cybernetics, 10(5), 813–831. https://doi.org/10.1007/s13042-017-0762-9
Suharyanto, Fauzi, A., Adrianto, L., & Wahyudin, Y. (2024). Developing marine tourism policy pathways: The case of super priority marine tourism destinations in Labuan Bajo, Indonesia. International Journal of Sustainable Development and Planning, 19(10), 3809–3819. https://doi.org/10.18280/ijsdp.191010
Tarigan, T. E., Faizal, E., & Sumiyatun. (2023). Model rekomendasi wisata dengan pendekatan collaborative filtering. FAHMA: Jurnal Informatika Komputer, Bisnis dan Manajemen, 21(2), 56–64. https://doi.org/10.61805/fahma.v21i2.18
Teguh, F. X., & Scott, N. (2026). Government-led DMO and collaborative governance practices: Case study in Labuan Bajo, Flores, Indonesia. Jurnal Kepariwisataan Indonesia: Jurnal Penelitian dan Pengembangan Kepariwisataan Indonesia, 20(1), 41–74. https://doi.org/10.47608/jki.v20i12026.41-74
Wang, J., & Dong, Y. (2020). Measurement of text similarity: A survey. Information, 11(9), Article 421. https://doi.org/10.3390/info11090421
Wang, Y. (2024). Research on the TF–IDF algorithm combined with semantics for automatic extraction of keywords from network news texts. Journal of Intelligent Systems, 33, Article 20230300. https://doi.org/10.1515/jisys-2023-0300
Yuan, H., & Hernandez, A. A. (2023). User cold start problem in recommendation systems: A systematic review. IEEE Access, 11, 136958–136977. https://doi.org/10.1109/ACCESS.2023.3338705
Zangerle, E., & Bauer, C. (2022). Evaluating recommender systems: Survey and framework. ACM Computing Surveys, 55(8), Article 170. https://doi.org/10.1145/3556536
Zhang, S., Yao, L., Sun, A., & Tay, Y. (2019). Deep learning based recommender system: A survey and new perspectives. ACM Computing Surveys, 52(1), Article 5. https://doi.org/10.1145/3285029
Zhang, Y., & Chen, X. (2020). Explainable recommendation: A survey and new perspectives. Foundations and Trends in Information Retrieval, 14(1), 1–101. https://doi.org/10.1561/1500000066
How to Cite
Fatdaja, L. N., Hafizurrahman, H., Uslan, U., Faris, I. K. B. A., & Hakim, A. S. B. I. (2025). Development and Evaluation of a Content-Based Tourism Recommendation System Using TF-IDF and Cosine Similarity: A Case Study of Labuan Bajo, Indonesia. Semar Journal, 1(1), 72-92.
APA 7th editionCopyright (c) 2025 Laizza Natta Fatdaja, Hafizurrahman Hafizurrahman, Uslan Uslan, Izzan Khairul bin Abdullah Faris, Alesha Sofea binti Iskandar Hakim (Author)

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