Unit 5 of 11 · about 4 hours · derive
Utility, error costs, guardrails and the smallest useful effect
A detectable improvement may not pay for itself. Defining usefulness first prevents the winning score from becoming its own justification.
You'll be able to
- Derive the smallest useful effect from declared costs, exposure and decision alternatives.
- Separate the primary utility measure from guardrails that can veto adoption.
- Explain why statistical detectability and operational usefulness are different thresholds.
Covers
Read
In this order, only the parts listed
0 of 4 done
- Choose for consequences, not predictive loss aloneRules of Machine Learning - Selected Rules
Rules 25 and 27: utilitarian performance and quantifying undesirable behavior (page read 2026-10-19)
- Critique the model-family shortcutMachine Learning Problem Framing
Regression: the claim that classification would produce the correct cache behavior (page read 2026-10-19)
Read only that argument. Model family alone cannot encode the right action costs; calibrated probabilities plus costs, or an explicit decision loss, are needed. Regression with a suitable decision rule can also be valid.
- Payoff and cost in the same proposalThe Heilmeier Catechism
Questions 4 to 8: difference made, risks, cost, duration and examinations
- Operational requirements can veto a score winCS329S - Machine Learning Systems Design
CS329S, 2022, Lecture 1: Stakeholders and their objectives; Requirements for ML Systems
Use the competing requirements, not the historical revenue or latency numbers as universal cost estimates.
Focus on
- The Classical ML unit on cost-sensitive thresholds supplied the action-loss method. Here audit its inputs. Teaching rule: an extra evening agent costs 120 utility units per shift; reducing the equal-shift mean wait by one minute is worth 40 utility units. Net value is , where is the reduction in minutes. Break-even is 3 minutes; adoption needs more than 3, before guardrails.
- These are declared educational utilities, not measured business costs or a causal effect of staffing. The linear conversion is an assumption. If callers differ in harm or the action changes arrivals, revisit the utility model rather than silently reweighting the result.
- Declare a separate abandonment guardrail, such as an increase of at most one percentage point, and how its uncertainty will be assessed. Inconclusive guardrail evidence is not evidence of safety. A privacy or rights violation is a hard stop, not a small negative score.
- For a second exact cost example, an escalation costs 30 utility units and avoids a 150-unit loss only when the issue would otherwise be severe. With calibrated severity probability and complete prevention, escalate when , or . Imperfect prevention or calibration changes the rule.
Common mistakes · 3
- Calling the study's minimum detectable effect the smallest useful effect. The former depends on design and precision; the latter comes from consequences and alternatives.
- Subtracting unlike units, such as minutes of MAE and money. A defensible conversion or a separate constrained decision is needed.
- Allowing average utility to buy off an undeclared safety violation. Guardrail priority and uncertainty rules must be settled first.
Try it yourself
Closed-book, before checking anything
Quiz yourself
Answer first, then mark it. Missed ones go to Review.
0 got · 0 missed
1.The estimated wait reduction is precisely 2 minutes. Does precision make the intervention useful under this teaching rule?Answer
No. Its net value is -40 utility units per shift. Precision cannot compensate for an effect below break-even.
2.Why does the escalation threshold require more than a ranking score?Answer
The expected-cost calculation needs a probability with an appropriate calibration interpretation, plus the stated action-effect and cost assumptions. A ranking alone does not supply those.
3.Can a positive primary net value override an unknown abandonment effect?Answer
Not under a contract requiring the guardrail to pass. Keep the decision pending or collect relevant evidence instead of treating missing evidence as zero harm.
You're done when
You recover both thresholds and all four net values, then defend a library useful-effect threshold with compatible units and one independently checked guardrail.
Only when you can do this without notes.
Leads to
Notes
Resources · 4 for this unit, 6 more in the section
- The Heilmeier CatechismDARPA · required
Answer all eight questions for the proposed investigation, including current practice, novelty, who cares, risks, cost, duration and the midterm and final examinations. Use the answers to remove vague scope.
- Machine Learning Problem FramingGoogle for Developers · support
The core already assigned these exercises. Reread only Predictions vs. actions, Proxy labels and Define the success metrics as a critique: does the product decision deserve improvement, and can proxy movement justify the action? Two passages need correcting: in Regression, model family alone does not make classification "produce the correct behavior" (actions need calibrated probabilities and costs or a decision loss), and the "undefined gap" between failure and success is exactly where your charter must predeclare an action.
- Rules of Machine Learning - Selected RulesGoogle for Developers · support
Read Rules 1 to 5, 12 and 13, 25, 27 to 29, 31, 33, 38 and 39. Pair Rule 12 ("Don't overthink") with 13 and 39: the Alice example (better logistic loss and installs, daily active users down 5%) shows a better predictor rejected for a wrong objective. Rule 1's "50%" boost is rhetoric, and Rule 33's stable AUC expectation fails under concept shift.
- CS329S - Machine Learning Systems DesignStanford University · support
Use the 2022 notes for Lecture 1 (Machine learning in research vs. in production, Stakeholders and their objectives, Requirements for ML Systems) and Lecture 6 (Model Offline Evaluation: Baselines, then the perturbation, invariance and directional expectation tests and Slice-based Evaluation). Model selection, development and training is one combined Lecture 5; read its tip 3 on unequal tuning effort. Excluding a sensitive attribute does not remove proxies, and the Lecture 6 subgroup table uses different denominators per model, a composition effect rather than a same-population ranking reversal.
Also in this section
- REFORMS: Consensus-based Recommendations for Machine-learning-based ScienceKapoor et al., Science Advances · primary
Read the article's scope section and Table 1, then the paired guidelines for items 1a to 1c (population of interest rather than the sample, why that population, why ML), 3b and 3g (sampling frame, representativeness), 5f (baselines), 6c (feature legitimacy at prediction time) and 8a to 8b (generalizability and where the claim does not hold). Write the charter against those items. REFORMS targets ML-based science and excludes pure methods research, so a methods question uses the applicable items, never a compliance claim. Its checklist and guidelines (https://reforms.cs.princeton.edu/) are a 2024 consensus, not a tested intervention. No source here derives an estimand, timeline and stop threshold for you: write one worked contract with a counterexample for each.
- Project Design - Planning and ChecklistThe Turing Way · required
Organizational companion, not the design method. Read Getting Started with Project Design (Setting Expectations Explicitly, Getting Ethical and Legal Approval), the Getting Started Checklist (Methodology, Stakeholders, Reporting & Evaluation) and Reproducibility Methods (Choose a License, Documenting the Design of your Study). Record stakeholders, approvals, licence and which work is exploratory or confirmatory. The Computational Reproducibility claim that notebooks need no installation describes a hosted option, not notebooks in general.
- Applied Science Investigation - Research CharterRoadmap-Final · support
Use Overview, Milestone A, Core requirements and Correctness requirements as the charter template. Begin one investigation here and keep extending the same artifact through the final stage. Freeze the development, selection, test and reserved extension periods or groups before any final scoring, and run a sub-minute baseline ladder (a global mean, a stratified mean, one regularized model) as development evidence. A more flexible model losing to a simple heuristic is a result to keep.
- UCI Bike Sharing DatasetUCI Machine Learning Repository (Fanaee-T and Gama) · support
A licensed starter for the investigation: hourly and daily Capital Bikeshare rentals for 2011 and 2012 with calendar and weather fields (DOI 10.24432/C5W894; keep the attribution and record your transformations). The archive has 17,379 hourly rows although the page states 17,389. Missing hours are not zero demand,
casualplusregisteredequals the target, same-hour weather is not a day-ahead forecast, and counts are realized rentals, not demand or the effect of rebalancing. Separate formulations it supports (next-day counts) from ones it cannot (a causal policy effect). - UCI Wine Quality DatasetUCI Machine Learning Repository (Cortez et al., 2009) · support
An alternate investigation domain: 1,599 red and 4,898 white wines, 11 physicochemical inputs and an ordinal expert score (the median of at least three evaluations). There are no producer, lot, taster or date identifiers, so identical rows may be repeats or distinct samples; keep feature-identical rows in one split group and bound claims accordingly. Red-to-white transfer is a deliberately hard boundary, not evidence about all wine.
- Research Methods Knowledge Base: Construct ValidityWilliam M. K. Trochim, hosted by Conjointly · required
Construct Validity: opening definition, operationalizations of measures and treatments, convergent and discriminant evidence, and the final theoretical-pattern versus observed-pattern discussion (page read 2026-10-19). Use this to challenge a proxy, not as a checklist proving validity.