learn-when-ai-with-phoebe / Session 3 of 6
Learn When AI with Phoebe · Session 3 of 6

When classic ML wins

Three of Cadence's workloads have no writable rule - and they are still not LLM work. Tonight is the middle rung: models trained on your own history, measured on the past before they are trusted on the future, and served for cents. It is the least glamorous tier and, in the simulator, the cheapest trustworthy configuration in the whole course. Glamour is not a routing criterion.

🟡 Medium Leaders deciding where AI budget goes Practitioners routing their own work 45 min
0-3 · Welcome 3-22 · The middle rung's evidence 22-40 · Build-along: design a backtest 40-45 · Q&A
Part 0

Where session 2 left you

The free tier took four of Cadence's ten workloads for pocket change - priced by hand, acceptance tests written. That leaves three pattern workloads homeless: churn prediction, the ticket-volume forecast, and anomalous API usage. No writable rule exists for any of them, and none of them is language work either. Tonight they get a home.

★ What you walk out with tonight. The test that recognizes pattern work on sight. Three peer-reviewed papers of evidence for the middle rung, read with their caveats intact. And a backtest design for Cadence's churn model, on paper, that you could hand to any data scientist tomorrow morning.

LiveThe pile with no rule and no words3 min▶

Run session 1's test on "which workspaces will cancel next month". Can the logic be written down? Try it: tenure under 90 days AND fewer than 3 notes a week AND... every rule you write leaks. Churn has a hundred quiet precursors and no human can enumerate them. Q1 is a genuine no - this is the license to spend that the deterministic pile never issues.

But look at what the work is made of: rows, columns, timestamps, counts. Structured history. No paragraph needs understanding, nothing needs generating. The rule you cannot write is sitting inside data you already have, waiting to be learned. That combination - no writable rule, but history contains it - is the signature of the middle rung, and it fits all three homeless workloads exactly.

Self-studyThe three workloads, one line each2 min▶
  • Churn prediction - which paying workspaces cancel soon. The precursors live in usage history nobody can fully articulate.
  • Ticket-volume forecast - how many support tickets arrive next week, so staffing is a decision instead of a scramble. Seasonality plus release spikes, learnable from two years of counts.
  • Anomalous API usage - which integration partners' traffic looks wrong. "Wrong" resists definition; "unlike its own history" does not.

Notice what they share: the answer is a number or a flag about the future, graded eventually by reality itself. That grading is what tonight's whole argument stands on.

Part 1 · covers pattern work and the middle rung

Backtestable: the middle rung's superpower

7 min live

The deterministic tier is verified once. The middle rung cannot have that - but it has the next best thing, and the next best thing is still a form of verification: you can measure the model on the past before you trust it on the future.

Churn prediction which workspaces cancel soon Ticket-volume forecast next week's support load Anomalous API usage traffic unlike its own history One inference box $62 / month serves all three pattern workloads, cents per call 7/10 trusted cheapest trustworthy config in the course 12 months of history the exam the model sits first train on early months score on held-out months The loop at the bottom is the point: before the box earns a cent of trust on the future, it is graded on months where the answers are already known. Fail the exam and it never ships. That is verification.
🔍 Click to zoom - three pattern workloads, one $62 inference box, and the backtest loop that earns the trust
LiveWhy backtestability is verification, not vibes4 min▶

Train the churn model only on data up to six months ago, then ask it to predict the churn that followed - churn that has already happened, so every prediction is gradeable against reality. Before the model touches a single live decision, you hold a number: how well it did on a future it could not have memorized.

That is a real exam with a real answer key, and it is the middle rung's answer to "verified once". Not correct by construction - correct by demonstration, on your own data, before deployment. The LLM route cannot cheaply imitate this: to earn the same certificate it needs a labeled eval set built and graded by hand, per task, forever. The trained model's exam comes free with the method, because history already contains the answers.

The routing consequence: when a workload is backtestable, you can know what you are buying before you buy it. Demand the backtest number before trusting any pattern-work tool - a vendor who cannot produce one is selling you the demo, not the model.

Self-studyThe $62 box, itemized3 min▶

In the simulator, switching the three pattern workloads onto classic ML lands the whole configuration at $62 a month true cost, with 7 of 10 answers trusted and zero silently wrong - the cheapest trustworthy configuration in the course. One modest inference box serves all three models; inference on tabular models costs cents per thousand calls, so the workloads share the hardware the way queries share a warehouse.

Compare the neighbors: the free-tier-only config sits at $224 with 4/10 trusted, because the pattern pile is still being mangled elsewhere. The AI-everything anti-lever pays $2,429 from baseline to trust 3 of 10. The middle rung is where the cost curve and the trust curve cross - which is exactly why it is the most skipped rung in 2026: it is nobody's demo and everybody's savings.

Part 2 · covers the tabular evidence stack

Three papers, read with their caveats on

7 min live

"Just use the LLM for everything" has a marketing budget. The middle rung has peer review. No single canonical LLM-vs-XGBoost headline study exists, so the honest move is a stack of three, each carried with its scope.

THE EVIDENCE STACK · NO SINGLE HEADLINE STUDY, THREE SCOPED ONES Grinsztajn, Oyallon, Varoquaux · NeurIPS 2022 · 45 datasets Tree-based models remain state of the art on TYPICAL, MEDIUM-SIZED (~10K sample) tabular data - the scope is in the title, carry it with you McElfresh et al. · NeurIPS 2023 · 176 datasets GBDT vs NN wins vary by dataset profile; lightly-tuned GBDT is the strongest default, and tuning matters more than algorithm choice Bordt, Nori, Caruana et al. · COLM 2024 LLMs memorized popular tabular datasets verbatim - pre-cutoff benchmark wins can be contamination, not capability Together: a scoped default for the middle rung, a reminder that tuning beats tool-swapping, and a reason to distrust famous-CSV demos.
🔍 Click to zoom - the three-paper evidence stack, each finding carried with its scope
LiveWhat the stack does and does not license4 min▶

Grinsztajn and colleagues found tree-based models still state of the art - on typical, medium-sized tabular data, around 10K samples, across 45 datasets. The scope is in the paper's own title, and it is the finding, not fine print. This is not "trees always win"; it is "on the shape of data most businesses actually have, the boring tool is still the benchmark to beat".

McElfresh and colleagues widened the lens to 176 datasets and found the wins between GBDTs and neural networks vary by dataset profile - but a lightly-tuned GBDT is the strongest default, and tuning matters more than algorithm choice. The routing lesson hides in that last clause: the team arguing about which tool would be better spent tuning the one they have.

Together the stack licenses one modest claim: for Cadence's three pattern workloads - all typical, all medium-sized, all tabular - a gradient-boosted model is the evidence-backed default. It does not license sneering at neural nets on large or exotic data. Scoped claims are the ones that survive meetings.

LiveThe demo that misleads3 min▶

Someone will show you a frontier LLM scoring brilliantly on a famous public dataset and conclude the middle rung is obsolete. Bordt and colleagues tested exactly this and found that LLMs had memorized popular tabular datasets verbatim - they could reproduce rows character for character. An impressive score on a dataset the model has seen during training is contamination, not capability: the exam was in the training set.

Your churn table was not. That is the quiet, decisive advantage of the backtest from Part 1: your own held-out history is an exam the model provably has not seen. The demo dazzles on Titanic; the routing decision is about your data, where the only honest certificate is the one you grade yourself.

Real world

Cadence's founder saw a conference demo of an LLM "doing churn analysis" on a public telecom dataset and asked why the team was still training models. The team's answer was the backtest: on Cadence's own held-out months, where nothing is memorized, the boring GBDT produced a gradeable number and the demo could not. The question changed from "why not the impressive tool" to "which tool passes our exam".

Part 3 · covers what the middle rung costs

The discipline bill: what $62 does not include

5 min live

The middle rung is cheap to run and honest to price - but it is not free to own. A trained model is a standing commitment, and the commitment has line items.

THE EVAL SET the asset you own, every stage reads it 1 · Train on frozen history 2 · Backtest pass or never ship 3 · Deploy cents per call 4 · Monitor drift shows up here 5 · Retrain when the world moves the loop never finishes - that is the price of rung 2 The simulator prices this loop at $40 per probabilistic workload per month for evals and monitoring - the line session 5 adds. A model without this loop is not cheaper. It is unpriced, which always costs more.
🔍 Click to zoom - the ownership loop every trained model signs you up for, with the eval set at the center
LiveDrift, upkeep, and the $40 line item3 min▶

The world the model learned keeps moving: a pricing change reshapes churn, a product launch reshapes ticket volume, a new integration reshapes "normal" API traffic. That is drift, and it is not a malfunction - it is the weather on rung 2. The defense is the loop in the figure: a maintained eval set, monitoring that compares live performance against the backtest number, and retraining when the gap opens.

The simulator prices that discipline at $40 per probabilistic workload per month - the upkeep line its S5 lever adds, which is why the honest full-cost configuration reads $416 rather than $176. Budget the loop on day one. A model priced without its eval set is a quote for half a bridge.

Self-studyThe heuristic gate: earn the model before you build it3 min▶

Google's Rules of ML puts a gate in front of this whole session: "If you think that machine learning will give you a 100% boost, then a heuristic will get you 50% of the way there." Before Cadence trains anything, the honest first move is the dumb baseline: for churn, flag workspaces with no notes created in 14 days; for the forecast, next week equals the same week last year plus trend.

The heuristic is not the destination - it is the yardstick. It costs an afternoon, it is deterministic, and it sets the number the model must beat by enough to pay its $40-a-month loop. Sometimes the heuristic wins outright and a workload quietly moves DOWN a rung, which is not a failure of ambition. It is the routing skill working.

Build-along

Design the churn backtest, on paper

★ 18 min · everyone builds

No code tonight - the design decisions ARE the hard part, and they fit on one page. You are writing the exam Cadence's churn model must pass before it touches a live decision.

Pick the label window. Write the definition of the event: "a paying workspace cancels within 60 days of the prediction date". No model can be graded until the thing it predicts has an unambiguous definition and a deadline - this is session 1's Q2 wearing a lab coat.

Set the feature freeze date. Every feature is computed only from data that existed before the prediction date - usage counts, tenure, plan, ticket history as of that morning. One feature that peeks past the freeze (a cancellation email timestamp, say) and the backtest becomes a beautiful lie.

Choose the holdout months. Train on the older months, hold out the most recent three untouched. The holdout must be later in time than the training data, never randomly shuffled - churn is a time problem, and shuffling lets tomorrow leak into yesterday.

Write the trust number and the kill number before you run anything. For example: "trust if the top-scoring decile of workspaces contains at least 3x the baseline churn rate; kill if it is under 1.5x". Deciding after seeing results is how every model ever shipped got shipped.

Write the heuristic it must beat. "No notes created in 14 days" is the free-tier baseline. The model earns its monthly loop only by beating the heuristic by more than the loop costs. If it cannot, the workload moves down a rung and that decision goes in the playbook too.

Your backlog has a written three-pile triageSession 1's homework: ten workloads, three columns, a one-line reason each.
At least one workload is priced on the free tierSession 2's formula with a real scan estimate and a real monthly number.
One pattern workload has a named backtest designLabel window, feature freeze date, holdout months - tonight's build-along, on paper.
You know your org's inference-box costWhatever Cadence's $62 box maps to in your stack - ask, do not guess.
You can state the Grinsztajn scope caveat from memoryTypical, medium-sized (~10K sample) tabular data - never "trees always win".

Keep the backtest sheet. Session 5 prices this workload's LLM alternative with real token math, and session 6 routes it live in the simulator. The trust number you wrote tonight is what makes both of those comparisons honest instead of rhetorical.

Homework

Before session 4

30 min
  1. Finish the backtest design for a second pattern workload - the forecast or the anomaly detector - using the same five decisions: label window, freeze date, holdout, trust and kill numbers, heuristic baseline.
  2. Write the heuristic baseline for every workload in your pattern pile. An afternoon each, and each one is a deterministic yardstick the free tier gives you for near-nothing.
  3. Find your org's inference-box number - what serving a small model actually costs in your stack per month. It anchors every "should this be an LLM call" debate you will ever have.
  4. Read the Grinsztajn abstract and the McElfresh abstract. Ten minutes total. You are reading for the scopes, not the scores.
  5. Optional: find one impressive LLM-on-a-famous-CSV demo online and check the dataset's age against the model's training cutoff. You now know what you are probably looking at.
Check yourself

Three questions

Clear all three and session 3 gets stamped in your passport.

1 · Grinsztajn et al. (NeurIPS 2022) is the most-quoted paper for the middle rung. What does it actually establish?

The scope IS the finding: typical, medium-sized tabular data, across 45 datasets. Overstate it to "trees always win" and the first counterexample takes your credibility with it. Scoped claims survive meetings; slogans do not.

2 · Why does this course call backtestability a form of verification rather than just evaluation?

The past already contains the answers, so the exam is real and gradeable pre-deployment - that is what makes it a cousin of the deterministic tier's verified-once property. It can absolutely be gamed (leaky features, shuffled time), which is why the build-along exists, and it guarantees nothing forever - drift is why the monitoring loop and its $40 a month stay in the price.

3 · An LLM scores brilliantly on a famous public churn dataset. Per Bordt et al. (COLM 2024), what should you conclude?

Bordt and colleagues showed LLMs can reproduce rows of famous datasets character for character - the exam was in the training set. The only certificate that counts is one on data the model provably has not seen, which is exactly what your own held-out months provide.

Sources covered

What this session teaches, and where it came from

✓Google Rules of ML, rule 1 corollaryThe heuristic-first gate: 50 percent of the boost for an afternoon's work, and a yardstick every model must beat
✓The tabular evidence stack: Grinsztajn 2022, McElfresh 2023, Bordt 2024All three findings with every caveat carried - the Grinsztajn scope, the tuning-beats-algorithm result, the contamination warning

Every fact on this page, and its verification tier, is recorded in the course's source map.

Session 3 cheat sheet · pin this

The middle-rung signatureNo writable rule, but history contains it. Structured rows in, a number or flag out, graded eventually by reality.
Backtest before trustTrain on the old months, grade on held-out recent ones. A real exam with a real answer key, before deployment.
The $62 boxOne inference box serves all three pattern workloads: $62 a month, 7/10 trusted - the cheapest trustworthy config.
Grinsztajn, scopedTrees remain SOTA on typical, medium-sized (~10K sample) tabular data. The scope is the finding - never overstate it.
Tuning beats tool-swappingMcElfresh, 176 datasets: lightly-tuned GBDT is the strongest default, and tuning matters more than algorithm choice.
The contamination testBordt: LLMs memorized famous tabular datasets verbatim. Trust only exams the model provably has not seen - yours.