How akazizu1/dynamic-tourist-guide works
Dynamic Tourist Guide is a Streamlit app that takes a visitor’s coordinates and interests, loads location data, then runs clustering, preference filtering, and distance ranking before showing nearby locations on a map and in a table. The stages are invoked by the app rather than calling one another. The source excerpts show these calls and the dataset load; the CSV contents were not sampled.
Main entry points: app.py Streamlit App · locations.csv Location Dataset · clustering.py Location Clustering · rules.py Preference Filtering
Components 7
Visitor Interface
- Streamlit App
app.py - Map and Table
app.py
Recommendation Logic
- Location Clustering
modules/clustering.py - Preference Filtering
modules/rules.py - Distance Ranking
modules/heuristics.py
Location Data
- Location Dataset
data/locations.csv
Other components
- Visitor
Connections 6
- Visitor → Streamlit App: provides preferences
app.py - Location Dataset → Streamlit App: loaded by
app.py - Streamlit App → Location Clustering: applies clustering
app.py - Streamlit App → Preference Filtering: filters preferences
app.py - Streamlit App → Distance Ranking: ranks distances
app.py - Streamlit App → Map and Table: renders
app.py