I engineered 75+ features from GPS traces, timestamps and operational data, and built a three-phase XGBoost framework that predicts deviations at route and edge level. To prevent data leakage I used time-based train/test splits, and I validated the models with calibration analysis and rank correlations (Kendall τ, Spearman ρ). A greedy local-search algorithm then used the learned driver preferences to generate new stop sequences.