How lokifergusion9/delivery-network-intelligence works
Delivery Network Intelligence analyzes shipment scans as a facility-and-corridor graph, scores hub delay risk, and predicts leg ETAs. Its principal workflow turns segment data into OD legs and corridors, derives graph features and risk scores, trains and compares ETA models, then presents network, hub, corridor, and prediction views in a Streamlit dashboard. The README documents notebook-only node2vec embeddings; sampled app.py excerpts confirm the lighter centrality-feature model. The notebook and several app sections were not inspected, so their internal wiring is shown only where documented.
Main entry points: app.py Streamlit dashboard · delivery_data.csv Shipment scans · delhivery_graph_eta.ipynb Analysis notebook
Components 18
Shipment data
- Shipment scans
delivery_data.csv - Leg and corridor prep
app.py - Corridor statistics
app.py
Network analysis
- Analysis notebook
delhivery_graph_eta.ipynb - Directed corridor graph
app.py - Facility graph features
app.py - Hub risk scoring
app.py - Node2vec embeddings
delhivery_graph_eta.ipynb
ETA modeling
- Baseline ETA model
app.py - Graph-enhanced ETA model
app.py - Model comparison
app.py
Dashboard and results
- Streamlit dashboard
app.py - Network map
app.py - Hub risk drill-down
app.py - Corridor risk view
app.py - Interactive ETA predictor
app.py - Strategy findings
strategy_memo.md
Other components
- Analyst
Connections 25
- Analyst → Streamlit dashboard: uses
- Shipment scans → Streamlit dashboard: loads
- Shipment scans → Analysis notebook: analyzes
- Streamlit dashboard → Leg and corridor prep: prepares
- Analysis notebook → Leg and corridor prep: prepares
- Leg and corridor prep → Corridor statistics: aggregates
- Corridor statistics → Directed corridor graph: builds
- Directed corridor graph → Facility graph features: computes
- Corridor statistics → Hub risk scoring: contributes
- Facility graph features → Hub risk scoring: blends
- Facility graph features → Baseline ETA model: features
- Facility graph features → Graph-enhanced ETA model: enriches
- Baseline ETA model → Model comparison: compared in
- Graph-enhanced ETA model → Model comparison: compared in
- Directed corridor graph → Node2vec embeddings: embeds
- Hub risk scoring → Network map: colors
- Hub risk scoring → Hub risk drill-down: ranks
- Corridor statistics → Corridor risk view: ranks
- Graph-enhanced ETA model → Interactive ETA predictor: predicts
- Model comparison → Streamlit dashboard: displays
- Hub risk scoring → Streamlit dashboard: displays
- Corridor risk view → Streamlit dashboard: renders in
- Hub risk drill-down → Streamlit dashboard: renders in
- Network map → Streamlit dashboard: renders in
- Interactive ETA predictor → Streamlit dashboard: renders in