How haiviet7012/2627-ltxldl-airbnb-nhom1 works
This repository is a reproducible Bangkok Airbnb market-analysis pipeline for an investment decision-maker: download city snapshots, check and clean them, calculate market KPIs, analyze review sentiment and aspects, evaluate predictions, then visualize results. run_pipeline.py explicitly dispatches these stages; the README documents their order and capabilities. The graph preserves the documented QA, KPI, LLM, VADER baseline, evaluation, and visualization branches. Some modules (QA, evaluation, visualization) were not sampled, so their internal calls are not inferred; links use documented orchestration and capabilities.
Main entry points: run_pipeline.py Pipeline runner · llm.py LLM review analysis · evaluate.py Model evaluation · processed Analysis outputs
Components 16
Pipeline orchestration
- Pipeline runner
run_pipeline.py - City configuration
configs/bangkok.yaml
Market data and KPIs
- Snapshot download
src/download.py - QA and cleaning
src/qa.py - Market KPIs
src/kpi.py
Review analysis
- LLM review analysis
src/llm.py - VADER baseline
src/baseline.py - Hand-labeled reviews
data/samples/hand_labels.csv - Review KPIs
src/kpi.py
Evaluation and results
- Model evaluation
src/evaluate.py - Visualizations
src/viz.py - Analysis outputs
data/processed - Charts
figures
Other components
- Investment analyst
- Inside Airbnb
- Gemini API
Connections 26
- Investment analyst → Pipeline runner: starts
README.md - Pipeline runner → City configuration: loads
run_pipeline.py - Pipeline runner → Snapshot download: dispatches
run_pipeline.py - Pipeline runner → QA and cleaning: dispatches
run_pipeline.py - Pipeline runner → Market KPIs: dispatches
run_pipeline.py - Pipeline runner → LLM review analysis: dispatches
run_pipeline.py - Pipeline runner → VADER baseline: dispatches
run_pipeline.py - Pipeline runner → Model evaluation: dispatches
run_pipeline.py - Pipeline runner → Review KPIs: dispatches
run_pipeline.py - Pipeline runner → Visualizations: dispatches
run_pipeline.py - Inside Airbnb → Snapshot download: provides snapshots
src/download.py - Snapshot download → QA and cleaning: supplies raw data
README.md - QA and cleaning → Market KPIs: supplies cleaned data
README.md - QA and cleaning → LLM review analysis: supplies reviews
README.md - LLM review analysis → Gemini API: requests analysis
src/llm.py - LLM review analysis → VADER baseline: shares targets
src/baseline.py - LLM review analysis → Review KPIs: provides predictions
README.md - VADER baseline → Model evaluation: provides baseline
README.md - LLM review analysis → Model evaluation: provides predictions
README.md - Hand-labeled reviews → Model evaluation: provides reference labels
README.md - Market KPIs → Analysis outputs: writes KPIs
src/kpi.py - LLM review analysis → Analysis outputs: writes review results
README.md - Model evaluation → Analysis outputs: writes metrics
README.md - Review KPIs → Analysis outputs: writes review KPIs
src/kpi.py - Analysis outputs → Visualizations: supplies charts
README.md - Visualizations → Charts: writes charts
README.md