EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Content-Based Filtering with TF-IDF and Cosine Similarity for Bandung Raya Tourism Recommendation

Mira Aldina, Galih, Siti Nur

Bulletin of Intelligent Machines and Algorithms · 31.07.2026 · 1 (5) · 191-198

DOI: 10.65780/bima.v1i5.28 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Bulletin of Intelligent Machines and Algorithms, online erschienen am 31.07.2026. Verfasst von Mira Aldina und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Bandung Raya offers hundreds of tourist destinations spread across Bandung City, Bandung Regency, and West Bandung Regency, which causes information overload and makes it difficult for tourists to select destinations that match their preferences. Recommender systems, as one of the most widely applied branches of machine learning, provide a way to filter such information automatically. This study develops a machine learning-based recommender system for tourism destinations in Bandung Raya using Content-Based Filtering, in which destination descriptions are represented as numerical vectors through TF-IDF weighting and compared using Cosine Similarity. The dataset consists of 331 destinations with name, description, category, and region attributes. Text preprocessing is performed in five stages using the Sastrawi library for the Indonesian language, producing a TF-IDF matrix of 331 by 583 and a similarity matrix of 331 by 331. The model is deployed as a website using Flask as the backend, React as the frontend, and a REST API as the interface, supporting both name-based search and free-text query search. Functional validation uses Black-Box Testing, while recommendation quality is measured using Precision at K and Mean Average Precision. All eight functional scenarios passed, with Precision at 5 of 96.00 percent, Precision at 10 of 90.00 percent, and Mean Average Precision of 98.86 percent, indicating that, for the five evaluated queries, relevant destinations are ranked highly.

Zitieren

APA

Aldina, M., Galih, & Nur, S. (2026). Content-Based Filtering with TF-IDF and Cosine Similarity for Bandung Raya Tourism Recommendation. Bulletin of Intelligent Machines and Algorithms, 1(5), 191-198. https://doi.org/10.65780/bima.v1i5.28

Vancouver

Aldina M, Galih, Nur S. Content-Based Filtering with TF-IDF and Cosine Similarity for Bandung Raya Tourism Recommendation. Bulletin of Intelligent Machines and Algorithms. 2026;1(5):191-198. doi:10.65780/bima.v1i5.28

BibTeX
@article{Aldina2026,
  author = {Aldina, Mira and Galih and Nur, Siti},
  title = {Content-Based Filtering with TF-IDF and Cosine Similarity for Bandung Raya Tourism Recommendation},
  journal = {Bulletin of Intelligent Machines and Algorithms},
  year = {2026},
  volume = {1},
  number = {5},
  pages = {191--198},
  doi = {10.65780/bima.v1i5.28}
}
Kostenlos starten →