learn-ml-strategy-with-phoebe / Practitioner session 10 of 10
Learn ML Strategy with Phoebe · Practitioner session 10 of 10

The what-to-fix-next bench

Nine sessions of discipline, and now the decision it was all for. Lanternfish has 120 wrong images in a 1,000-image dev set, five candidate projects with a cost in weeks each, and a spreadsheet that already says which to do first. The bench below lets you choose the order anyway. It recomputes both halves of the dev set after every project, keeps the week count, and shows what the two most popular wrong answers actually cost.

🔴 Hardest Data scientists and ML engineers Whoever approves the next sprint 45 min
0-3 · Welcome 3-15 · Ceiling per week 15-40 · Build-along: choose the order 40-45 · Q&A
Part 0

What the bench measures

Two error rates and a week count. The Blackbox half is the number you would report; the Eyeball half is the number you have been staring at; the week count is what the order cost. Any single one of the three can be made to look good on its own, which is why the bench refuses to show fewer than three.

Live = presented in the 45 minutes Self-study = the full depth, after class 🔍 Every diagram zooms

★ What you walk out with tonight. An order of work you have scored rather than argued for. The measured cost of funding the interesting project first, which is eight weeks at 11.2 percent error to reach the same place. And the two-halves picture of what happens when a team tunes to the examples it looked at: one half drops to 3.8 percent, the other stays at 11.2, and the gap is not a model.

LiveCeiling is the only honest way to rank a project3 min▶

A project's ceiling is the share of current errors it could remove, times the share it actually does remove when it works. A category holding 14 percent of the errors, fixed by a project that catches 90 percent of them, has a ceiling of about 12.6 percent of your error rate. At 12.8 percent dev error that is 1.6 points, and it takes one week. A category holding 19 percent of the errors, fixed by a project that catches 70 percent, is 1.7 points and takes eight weeks. The ceilings are close; the points per week are 1.62 against 0.21.

Nobody funds the eight-week project because they computed that. They fund it because it is interesting, and a spreadsheet with a points-per-week column is what makes "interesting" visible as a cost.

Real world

Lanternfish's most senior engineer wanted the deer-versus-elk model. It was a genuinely hard problem and a genuinely good piece of work. It also shipped in week 8 to a dev set that was still 11.2 percent wrong, when a one-week re-labelling job and a two-week motion filter would have had the team at 9.0 percent by week 3.

Self-studyWhat is real here, and the one construction3 min▶
  • The dev set. 1,000 images from a fixed seed, 120 wrong, each carrying the category a human wrote in the spreadsheet: night blur 42, deer-versus-elk 24, half out of frame 22, empty frame 18, wrong label 14. Split by index into Eyeball and Blackbox halves of 500; random placement left 64 errors in one and 56 in the other, which is why they start at 12.8 and 11.2.
  • The projects. Each removes a stated share of its category's errors, earliest-indexed first, so the arithmetic is deterministic and the same for every learner.
  • The construction. "Hand rules against the errors you looked at" removes 70 percent of errors in the Eyeball half and none in the Blackbox half. That is not modelled human behaviour; it is what a rule written against sixty specific examples does by definition, and the widget says so.
  • Nothing else is modelled. No estimate of anybody's behaviour anywhere. Every number is a count.
Part 1 · covers the spreadsheet and the three orders

The spreadsheet, and the numbers it actually produces

10 min live

Every number here is computed by the bench on this page. The first table is the error-analysis spreadsheet with the two columns most teams leave off. The second is what three orders of work do to the Blackbox half over eighteen weeks.

CategoryEyeball errorsShareProjectWeeksCeilingPoints per week
Night infrared blur2133 percentInfrared denoising pass32.50.84
Deer mistaken for elk1219 percentDeer-vs-elk specialist model81.70.21
Animal half out of frame1219 percentOcclusion augmentation41.20.30
Empty frame called animal1016 percentMotion-trigger filter21.60.80
Label was wrong914 percentRe-label the dev set11.61.62
Order of workBlackbox error at week 6At week 8At week 18Eyeball error at the end
Best points per week: re-label, motion filter, denoise, occlusion, specialist6.2 percent6.23.64.4
Most interesting first: specialist model, then the rest11.2 percent9.23.64.4
Tune to what you looked at: hand rules, 2 weeks11.2 percent--3.8 percent

Same destination, different journey. Both honest orders end at 3.6 percent after eighteen weeks, because they do the same five projects. The difference is that one team was at 6.2 percent by week 6 and the other was still at 11.2, waiting for the interesting thing to ship. Order does not change where you finish; it changes how long the field lives with the error.

Blackbox dev error, by week, under two orders of work week 0 week 6 week 8 week 18 12% 0 6.2 at week 6 3.6 still 11.2 through week 6 9.2 at week 8 Tune to what you looked at Eyeball 12.8 to 3.8 Blackbox 11.2 to 11.2 a 7.4-point gap in two weeks Both honest orders end at 3.6. One of them lived at 11.2 for eight weeks to get there.
🔍 Click to zoom - same destination, eight weeks apart, and the gap that is not a model.
Build-along

Choose the order yourself

★ 25 min · everyone builds

The bench is live below. The sheet at the top is already sorted by points per week. Press an order, or fund projects one at a time, and watch both halves.

Read the sheet before touching anything. The biggest category is night blur at 33 percent. The best points per week is the smallest category, wrong labels at 14 percent, because it costs one week. Ceiling and cost are two columns, and the ranking needs both.

Press "best points per week". Blackbox error 11.2 to 10.2 after one week, 9.0 after three, 6.2 after six. Eighteen weeks in, 3.6 percent. Notice the Eyeball and Blackbox lines move together the whole way: every fix was a fix to the problem, not to the examples.

Press "most interesting first". The specialist model ships in week 8. Until then the Blackbox line is flat at 11.2. The same five projects then follow, and the line lands at 3.6 percent in week 18, exactly where the other order landed. Hover the week-8 row and read the note.

Press "tune to what you looked at". Two weeks. Eyeball 12.8 to 3.8; Blackbox 11.2 to 11.2. This is the dev set you have memorised, and a team that only tracked the number it was looking at would ship it and call it a 70 percent error reduction.

Clear it and build your own order, one project at a time. Try the denoising pass first: the biggest category, a sensible instinct, 0.84 points per week. Then check what the re-label job would have done in the week you spent on setup.

Write down the order you would defend to the team, and the Blackbox number you would report at week 6. If the interesting project is anywhere in the first three slots, say out loud what the field is getting for the wait.

What the bench leaves out, deliberately. Every error counts the same. A mislabelled endangered species is not a blurry deer, and a real spreadsheet would weight them. Add a severity column first when you build your own; it reorders the middle of the sheet and does not rescue either wrong order.

Homework

Closing the track

45 min
  1. Run your own error-analysis spreadsheet from session 3 through the two extra columns: weeks per project and points per week. Sort by the last column and compare with the order the team is actually running.
  2. Report your Eyeball and Blackbox numbers side by side for the last three model changes. If the Eyeball number moved and the Blackbox did not, you know which kind of change it was.
  3. Find the project in your backlog with the highest ceiling and the lowest points per week. Write the sentence that explains to its sponsor what the field gets for the wait.
  4. Add a severity weight to your own spreadsheet and see which rows change order. Then take the one-page memo from leader session 6 to whoever approves the sprint.
Check yourself

Three questions

Re-labelling the dev set fixes the smallest category on the sheet, yet ranks first. Why?

Ceiling and cost are two columns. Ranking on ceiling alone puts the specialist model near the top; ranking on points per week puts it last.

Both honest orders end at 3.6 percent Blackbox error after eighteen weeks. What did the order change?

The same five projects reach the same place. The order decides whether the team spends eight weeks at double-digit error waiting for the interesting project to ship.

Hand rules against the sixty Eyeball errors take the Eyeball half from 12.8 to 3.8 percent in two weeks and leave the Blackbox half at 11.2. What has the team built?

This is why the Blackbox half exists. A rule written against sixty specific images fixes those sixty images. The half you never looked at is the only honest reading left.

Sources covered

What tonight maps to

✓ Machine Learning Yearning, chapters 14 to 15 The ceiling of a project and the spreadsheet with a row per misclassified example, extended with a weeks column and a points-per-week column.
✓ Machine Learning Yearning, chapters 17 to 18 Eyeball and Blackbox dev sets, with the memorised-dev-set failure computed rather than described.
✓ Machine Learning Yearning, chapter 13 Build quickly then iterate, as the reason order of work matters at all.
◐ Severity weighting of error categories Named as the first extension. Every error counts the same on this bench.
· Metric definitions, thresholds, calibration Not covered by design. The model-evaluation course owns how to score; this bench takes the score as given.

Session 10 cheat sheet

Two columns, not oneCeiling and weeks. Points per week is the ranking; ceiling alone funds the wrong thing.
1.62 against 0.21Re-label the dev set against the specialist model. Close ceilings, eight times the cost.
Same destinationBoth honest orders end at 3.6 percent. Order decides how long the field waits.
6.2 by week 6Or 11.2 by week 6. The interesting project ships in week 8.
Two halves, alwaysEyeball 3.8, Blackbox 11.2 is a memorised dev set, not a model.
Report the Blackbox numberThe half you never looked at is the only honest reading after you have tuned.
Weight by severity nextA mislabelled endangered species is not a blurry deer.
Nothing is modelledEvery number here is a count. The one construction is labelled.