How abhisheknishad23/travel-recommendation-system works
This is a Flask travel recommendation dashboard. A user submits destination and traveler preferences; the home route encodes those inputs, predicts popularity, selects up to five destinations of the chosen type (filling from other types if needed), predicts scores for those alternatives, and renders the results. The README also describes dynamic dropdowns and a diagnostics banner. Dataset files named in app.py are absent from the supplied tree, so they are shown as external data. The sampled source supports the route’s calls; template internals were not inspected.
Main entry points: app.py Home route · index.html Travel dashboard · travel_encoders.pkl Label encoders · travel_recommend.pkl Popularity model
Components 9
Web interaction
- Home route
app.py - Travel dashboard
templates/index.html
Recommendation workflow
- Input encoding
app.py - Destination matching
app.py
Prediction assets
- Popularity scoring
app.py - Label encoders
travel_encoders.pkl - Popularity model
travel_recommend.pkl
Travel data
- Travel datasets
Other components
- Traveler
Connections 9
- Traveler → Home route: submits preferences
app.py - Home route → Input encoding: prepares inputs
app.py - Input encoding → Label encoders: transforms with
app.py - Home route → Destination matching: selects alternatives
app.py - Home route → Popularity scoring: requests predictions
app.py - Popularity scoring → Popularity model: predicts with
app.py - Home route → Travel dashboard: renders results
app.py - Home route → Travel datasets: loads and reads
app.py - Destination matching → Travel datasets: filters destinations
app.py