MODULE 20 ยท Middle ยท 3 hours

Business problem first, then the data, and only then the model

The final project end to end: from framing to an operations plan, defended in front of the CTO and the product manager. Everything before it converges here.

Open this module in the simulator All 23 lessons

The first two modules are free, no card. The rest are $20/month.

๐Ÿข The situation

A year and a half at Datacore is behind you. Lena invites you to the meeting room; Victor and Max are there:

"We're opening a Middle ML Engineer position, and you're the lead candidate. One formality: defend a capstone project before the three of us. A new, real task, entirely yours โ€” from framing to the operations plan. Show everything you've learned."

The project: Datacore's delivery service wants to predict a late order (will we deliver later than promised) in order to: (a) show honest delivery times at checkout, (b) proactively warn customers, (c) reinforce problem routes.

๐ŸŽฏ Your task

Walk through the project by yourself, checking against the model answers. This is a rehearsal of a middle's real work โ€” and of your interview.


The capstone assembles all 19 modules into one system FramingM1 ยท M18 DataM2 ยท M7 ModelM4โ€“M11 ValidationM9 ยท M14 A/B testM3 ยท M18 ProdM19 monitoring and drift bring the team back to the data โ€” the module-1 cycle has closed
The CTO defense tests not algorithm knowledge but the ability to take a task through the whole cycle โ€” as Lena promised on day one.

๐Ÿ’ผ The defense: the model solution

Step 1. Framing (modules 1, 18)

Step 2. Data and features (modules 2, 7)

Step 3. Model and validation (modules 4โ€“10)

Step 4. What we show in the A/B (modules 3, 18)

Step 5. Production and operations (module 19)

The committee's questions (think first, then reveal)

Victor: "The model suggests showing longer ETAs โ€” won't we lose orders?" That's what the A/B guardrail was for: conversion dipped 0.4% while SLA violations fell 22% and contacts fell 18%. The economics are positive: retention and repeat purchases from reliable ETAs outweigh it. Plus the product can show a range "3โ€“5 days" instead of a point.
Max: "Why should I believe ROC-AUC 0.86?" Believe the process, not the AUC: time-based validation, a test that took no part in tuning, point-in-time features (verified in review), and above all โ€” the pilot A/B confirmed the effect on live traffic. The offline metric is a filter; the decision was made by the experiment.
Lena: "What breaks first and how will you know?" The courier-service aggregates: a change of contractor instantly stales the history. I'll know from a PSI alert on the service features and the delayed error growth in that segment. Runbook: drop the service features, retrain, temporarily widen the ETA buffer.

What to remember

  • Deeper into DL: the Deep Learning Specialization (Andrew Ng), then papers in your area.
  • LLMs and GenAI: prompt engineering, RAG, fine-tuning courses โ€” the market's hottest demand.
  • Competitions: Kaggle โ€” the fastest way to sharpen the tabular craft.
  • Interviews: Chip Huyen's ML Interviews, mock system design interviews (the module-18 framework is your answer skeleton).
  • Portfolio: this capstone, published on GitHub with a "business problem โ†’ solution โ†’ metrics" README, is stronger than any diploma.

Lena, shaking your hand:

"Congratulations, Middle ML Engineer. Remember the main thing these eighteen months taught you: business problem first, data second, and only then the model. The tools will change; this order โ€” never."

Next in this module: The exam

A step-by-step walkthrough of the solution, the code and a five-question quiz.

Open the module โ†’

Nearby lessons

19 The model is ready. Now โ€” to production 21 Advanced ยท Before writing code: the Design Doc

The whole program โ€” 23 lessons