Portfolio model beats baselines on PR-AUC but loses on cost as base rate shifts
ZtasnimS75 · reddit · 2026-12-01
A portfolio project, DelayLens, predicts at order time whether an Olist order will arrive late, using 96,470 delivered orders split by time with leakage checks (FastAPI, Docker, Streamlit).
Key results:
- PR-AUC: 0.232 on validation dropped to 0.102 on the hidden Jun–Aug 2018 period, but still beat a simple-rule baseline (0.194→0.049)
- Late rate fell from 10.11% to 3.61%; a frozen 5:1-cost threshold set on validation failed
- Hidden-set cost with the model was 4040, worse than flagging nothing (3360)
With 5:1 costs you need precision above 16.7%, but hidden precision was only 11.4%. The author kept the result untouched, open-sourced the code, and asks how to set or update thresholds when the base rate shifts this much—whether calibration should come first.
Related event: DelayLens: Delay Prediction Wins PR-AUC but Loses Money on Hidden Set(2 posts)→
More from Research
- 3rd Economics of Quantum Information Technology conference issues call for papers — avicgoldfarb · 2026-12-01
- KAIST holographic system captures optical wavefronts for lifelike telepresence — ChuckDBrooks · 2026-12-01
- Quanta explores Michael Levin's provocative 'Platonic space hypothesis' of emergent behavior — ChuckDBrooks · 2026-12-01
- What would P=NP mean for engineering? Essay argues we engineered around our own limits — sudoraohacker · 2026-12-01
- Nathan Lambert: We're scaling RL with REINFORCE from 1992 and compute-hungry GRPO — natolambert · 2026-12-01
- OpenAI's newest model cracked a historical mystery in 20 minutes — conitzer · 2026-12-01