How ashelledsouza/aerofare-intelligence-flight-price-prediction-smart-booking-advisor- works
AeroFare is a Streamlit flight-fare forecasting and booking-advisor dashboard. Users explore market and model insights, enter a flight itinerary for a fare estimate and booking recommendation, or upload CSV queries for batch predictions. Dataset loading and model training form the preparation path; the saved pipeline and metrics support inference and dashboard explainability. The dashboard’s market, benchmark, and data-explorer capabilities are documented, but their implementation details are not fully excerpted, so those branches are shown at the application level.
Main entry points: app.py Streamlit Dashboard · flight_price_pipeline.pkl Trained Pipeline · train_model.py Model Training · dataset_loader.py Dataset Loader
Components 14
Dashboard
- Streamlit Dashboard
app.py - Market Intelligence
app.py - Model Benchmarks
app.py - Data Explorer
app.py
Flight Data
- Dataset Loader
dataset_loader.py - Benchmark Dataset
flight_price_dataset.csv
Model Lifecycle
- Model Training
train_model.py - Trained Pipeline
models/flight_price_pipeline.pkl - Model Metrics
models/model_metrics.json
Fare Services
- Fare Inference
predict.py - Booking Advisor
predict.py - Price Sensitivity
predict.py - Batch Prediction
predict.py
Other components
- Dashboard User
Connections 17
- Dashboard User → Streamlit Dashboard: uses
README.md - Streamlit Dashboard → Dataset Loader: loads data
app.py - Dataset Loader → Benchmark Dataset: reads fallback
dataset_loader.py - Model Training → Dataset Loader: loads data
train_model.py - Model Training → Trained Pipeline: saves model
train_model.py - Model Training → Model Metrics: saves metrics
train_model.py - Streamlit Dashboard → Fare Inference: requests forecast
app.py - Streamlit Dashboard → Booking Advisor: requests advice
README.md - Streamlit Dashboard → Price Sensitivity: requests curve
README.md - Streamlit Dashboard → Batch Prediction: requests batch
app.py - Fare Inference → Trained Pipeline: loads model
predict.py - Price Sensitivity → Trained Pipeline: predicts prices
predict.py - Batch Prediction → Trained Pipeline: predicts fares
predict.py - Streamlit Dashboard → Model Metrics: reads metadata
app.py - Streamlit Dashboard → Market Intelligence: presents analysis
README.md - Streamlit Dashboard → Model Benchmarks: presents results
README.md - Streamlit Dashboard → Data Explorer: browses records
README.md