---
title: "Roonomics: How Economics Helped Us to Build a Churn Prediction Model"
description: "Deliveroo replaced a high-recall, rule-based restaurant churn flagging system with a ranked probability model tuned for precision, because retention teams have limited capacity and false positives carry a real opportunity cost."
url: "https://swe.quest/articles/roonomics-how-economics-helped-us-to-build-a-churn-prediction-model-fa0a6f4e34dc5a67"
canonical: "https://deliveroo.engineering/2026/09/22/roonomics-how-economics-helped-us-to-build-a-churn-prediction-model.html"
source: "Deliveroo Engineering"
published: "2026-09-22"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["machine-learning","evals"]
---

# Roonomics: How Economics Helped Us to Build a Churn Prediction Model

A post on [Deliveroo Engineering](https://swe.quest/sources/deliveroo.md), published 2026-09-22, 6 min read, Case study. Original: [https://deliveroo.engineering/2026/09/22/roonomics-how-economics-helped-us-to-build-a-churn-prediction-model.html](https://deliveroo.engineering/2026/09/22/roonomics-how-economics-helped-us-to-build-a-churn-prediction-model.html)

## Summary

Deliveroo replaced a high-recall, rule-based restaurant churn flagging system with a ranked probability model tuned for precision, because retention teams have limited capacity and false positives carry a real opportunity cost. The model uses rolling-window cross-validation to avoid leakage, a precision-oriented score for the rare-event setting, business-importance weighting for prioritisation, and Shapley values for per-restaurant explanations, and it runs weekly as an Argo pipeline. Offline, it cut flagged restaurants by over 90% and raised precision 8x at the cost of recall, with calibration curves tracking the 45-degree line. A randomised treatment/control experiment is under way to test whether acting on the flags actually reduces churn.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- precision and recall
- binary classification
- cross-validation

## Keywords

Shapley values, Argo, Deliveroo, churn prediction

## Related posts

- [Variance Reduction Below the Randomization Grain](https://swe.quest/articles/variance-reduction-below-the-randomization-grain-0cacd97bb1a5531d.md): Instacart Tech · 2026-07-01 · Hard · 7 min read · Machine learning, E-commerce
  Instacart improves CUPED variance reduction for region-day switchback experiments by training an order-level model (gradient boosted trees) on pre-treatment features and aggregating its predictions to the region-day grain as the CUPED covariate.
- [Reducing experiment duration with predicted control variates](https://swe.quest/articles/reducing-experiment-duration-with-predicted-control-variates-cf5f4d721df76a4d.md): Etsy Code as Craft · 2025-11-25 · Medium · 8 min read · Machine learning, Data pipelines, E-commerce
  Etsy upgraded its experimentation platform's variance reduction from CUPED to CUPAC, which feeds pre-experiment features (over 100, up from 3) into LightGBM models whose predictions serve as the covariate in a linear CUPED-style adjustment.
- [Direct Preference Optimization Beyond Chatbots](https://swe.quest/articles/direct-preference-optimization-beyond-chatbots-b552e31e2b3fa017.md): Hugging Face · 2026-06-03 · Hard · 13 min read · Model training, LLMs, Computer vision, Evaluation
  Adding a DPO stage after supervised fine-tuning reduced text degeneration (repetition loops) in every one of five vision-language model families tested on Brazilian Portuguese structured OCR.
- [Fact-Checking at Scale: Building a More Accurate and Efficient Synopsis Factuality System](https://swe.quest/articles/fact-checking-at-scale-building-a-more-accurate-and-efficient-synopsis-b4a7ea27d675f2cc.md): Netflix TechBlog · 2026-11-09 · Medium · 11 min read · LLMs, Evaluation, Cost optimization, System design
  Netflix replaced its synopsis fact-checker, which made five long-context (100k+ token) reasoning-model calls per synopsis, with a cascade.
- [5 Steps for Building Machine Learning Models for Business](https://swe.quest/articles/5-steps-for-building-machine-learning-models-for-business-9d6ce609a5ab2c3d.md): Shopify Engineering · 2021-08-25 · Medium · 15 min read · Machine learning, ML platforms, Evaluation
  A five-step workflow for building ML models in a business context: confirm ML is warranted (defer it for brand-new products and beat a heuristic baseline first), start with simple models and basic features or off-the-shelf pretrained components, and pick a metric tied to business impact before optimizing.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
