Demand Forecasting
GraphSAGE + temporal attention predicts per-zone demand at 15-min granularity. Two-step retrieval achieves 0.9565 NDCG@3 across 3,360 queries.
An open-source research platform for AI-driven fleet repositioning. Demand forecasting, multi-agent simulation, offline reinforcement learning, and reproducible policy evaluation — all in one system.
Platform Capabilities
A complete decision intelligence pipeline — from raw trip data to deployable policies with rigorous evaluation.
GraphSAGE + temporal attention predicts per-zone demand at 15-min granularity. Two-step retrieval achieves 0.9565 NDCG@3 across 3,360 queries.
263 NYC taxi zones modeled as a supply-demand network. Drivers reposition based on learned policies; revenue and idle time tracked per episode.
IQL and DQN trained on historical trajectories. Doubly-robust OPE validates policies without online deployment risk.
402 passing tests, deterministic seeds, and published benchmarks. Every result is reproducible from raw TLC data to final metrics.
Benchmark Results
DQN achieves the highest daily revenue lift per driver while maintaining competitive service rate.
| Policy | Daily Revenue/Driver | Service Rate | Idle Time | Advantage |
|---|---|---|---|---|
| Hot Zone (baseline) | $247.30 | 68.2% | 41m | — |
| Random Reposition | $198.40 | 55.1% | 58m | -$48.90 |
| IQL | $281.50 | 74.6% | 32m | +$34.20 |
| DQN BEST | $301.04 | 76.8% | 28m | +$53.74 |
Results averaged over 30-day simulation on NYC TLC data (Jan 2024). Revenue in USD per driver per day.
Quick Start
Install, configure, and launch your first simulation.
# Install the platform pip install urban-mobility-ai
from mobility_ai import Config # Point to your local NYC TLC trip data config = Config( data_path="data/nyc_tlc/", api_key="YOUR_API_KEY", zones=263, horizon="15min", ) config.save("config.yaml")
# Launch a 30-day DQN simulation python -m mobility_ai simulate \ --policy dqn \ --days 30
Clone the repository, run the demo, and join the research community.