Skip to content
Open access

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

Jul 2026 · Bulletin of Intelligent Machines and Algorithms · Vol 1, pp. 191-198 · 0 citations · 35 references

TL;DR

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.

Abstract

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.

Read PDF

Similar papers

Open access Aug 2026

Hybrid Content-Based and Collaborative Filtering Recommender System for Tourist Destination Recommendation

This study designs and implements a web-based tourist destination recommender system using a Hybrid Recommender System that combines Content-Based Filtering and Collaborative Filtering to generate accurate and personalized recommendations.

Aileen Anindya R, Fetty Tri Anggraeny, Retno Mumpuni · 0 citations
Open access Aug 2026

Labuan Bajo Culinary Tourism Recommendation System: A Comparison of Content-Based Filtering Similarity Methods

Labuan Bajo, as a national super-priority tourism destination, has experienced a significant increase in tourist visits, dominated by foreign tourists, which has driven the expansion of the culinary sector with a continuously increasing number of restaurants. This makes it difficult for tourists to choose dining option...

Sergius Septiade Masmur, Ika Nur Fajri, Arif Nur Rohman · 0 citations
Open access Aug 2026

A Location-Aware Culinary Recommendation System Using Content-Based Filtering and Session-Based User Profiling

The proposed system successfully integrated semantic matching, geographic feasibility, affordability filtering, and short-term personalization in a lightweight web application and demonstrates functional correctness and favorable initial user acceptance.

Billy Gautama, Rudy Arijanto · 0 citations
Conference Aug 2026

CAPTR: A Context-Aware Personalized Travel Place Recommendation System Using Heterogeneous Graph Transformers

Travel recommendation is hard in destination-rich countries such as Sri Lanka. Whether a traveler is satisfied depends on fixed preferences, but also on the weather, the budget, and the many relationships in tourism data. Standard collaborative and content-based recommenders flatten every user-location interaction into...

Dasuni Rathnayaka · 0 citations
Open access Sep 2026

Personalized recommendation of tourism points of interest using classification-based machine learning

This study proposes a two-stage personalized recommendation framework for tourism Points of Interest (POIs) based on classification techniques. Unlike conventional approaches that require detailed user–item rating matrices or fine-grained POI-level data, our model predicts each user’s most suitable POI category by leve...

Văn Hòa Lê, Trung Duc Pham, Thi Thuy Van Nguyen et al. · 0 citations
Review Open access Aug 2026

Sistem Rekomendasi Produk Fitness dan Olahraga Berbasis Content-Based Filtering Menggunakan Doc2vec dan Cosine Similarity

Recommendation systems help users identify products that match their needs amid the growing number of choices on digital platforms. The increasing variety of fitness and sports products can cause information overload and make relevant products difficult to find. This study develops and evaluates a content-based filteri...

Airlangga Zabaniyah Putro Irdianto, Ilham Saifudin, Taufiq Timur W. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.