Data science / Project study

Last Mile Lab

Delivery-risk modeling with a capacity-limited investigation queue.

Last Mile Lab preview
01 / The challenge

What needed solving

Help an operations analyst prioritize newly approved orders when only a limited number can be investigated each day.

02 / The build

How it was approached

Built a reproducible DuckDB and pandas pipeline over 99,441 Olist orders, compared logistic regression and CatBoost with chronological evaluation, and shipped an interactive historical replay. At up to 50 investigations per day, the selected model captured 364 late orders versus 222 for the prevalence baseline on the held-out period (1.64x observed lift).

03 / Context

What to know

A historical demonstration using Brazilian marketplace data, not a validated live logistics service. Probability calibration drift is documented; scenario benefits depend on user assumptions and do not establish realized savings.

Tools

Stack

Python · DuckDB · pandas · scikit-learn · CatBoost · Streamlit · JavaScript

Open live site ↗View source ↗