Unit 7 of 11 · about 4 hours · derive
Deploy, iterate, collect-data and stop thresholds, with value of information
Without an action in the gray area, every result can justify another run. A stopping contract distinguishes an unanswered question from one that is no longer worth pursuing.
You'll be able to
- Predeclare deploy, iterate, collect-data and stop outcomes, including inconclusive evidence.
- Apply useful-effect and guardrail boundaries without turning a confidence interval into a posterior probability.
- For the optional extension, compute the expected decision value of a small experiment from an explicit utility and signal table.
Covers
Read
In this order, only the parts listed
0 of 3 done
- Repair the undefined success gapMachine Learning Problem Framing
Define the success metrics: ambitious success thresholds, the 'undefined gap' paragraph and the four continue/stop cases (page read 2026-10-19)
Critique only. Replace 'The undefined gap is not what's important' with an explicit inconclusive action; do not repeat the core framing exercise.
- Schedule the decision reviewProject Design - Planning and Checklist
Timeline & Milestones; Reporting & Evaluation (page read 2026-10-19)
Focus on
- Use the support teaching utility from the previous unit. At one predeclared analysis, a valid interval for the wait reduction wholly above 3 minutes, with passed guardrails and delivery checks, supports adoption under this teaching contract. An upper bound at or below 3 rules out strictly positive net value at that confidence convention. An interval crossing 3 is inconclusive, not failure or success.
- Iterate only for a named repairable defect, then revise the contract before new confirmatory evidence. Collect data only if the unresolved comparison can change the decision within budget. Stop for infeasibility or unacceptable harm, or when useful benefit is ruled out. Preserve an inconclusive report when further data are not worth their cost.
- Optional value-of-information table: helpful and harmful states each have prior probability 0.5. Deploy pays 100 utility units if helpful and -60 if harmful; do not deploy pays zero in either state. A test costs 8 and has a positive signal with probability 0.75 if helpful and 0.25 if harmful. Its negative probabilities are the complements. These are stipulated beliefs and utilities, not confidence-interval probabilities.
- Without testing, deploy has expected value 20. Each signal has probability 0.5; posterior helpful probabilities are 0.75 after positive and 0.25 after negative. Deploy then has expected value 60 or -20, so deploy only after positive. Expected value before test cost is 30; gross information value is 10 and net value is 2. A perfectly revealing test has gross value 30, an upper bound for this one-step decision.
Common mistakes · 3
- Using a frequentist interval's endpoints as probabilities for the helpful state. The optional table's probabilities are explicit prior and likelihood assumptions.
- Buying information that cannot change the chosen action. A more precise estimate can have zero decision value.
- Collecting until the ordinary interval crosses the adoption threshold. Repeated looks require a valid sequential design or a fixed final analysis.
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 interval is 2 to 5 minutes and more data exceed the budget. What may the report say?Answer
The decision remains inconclusive under the useful-effect rule. Stop collecting and retain that uncertainty; do not relabel it a proven null or a useful gain.
2.Optional: why is the noisy test's gross value 10 rather than 30?Answer
Thirty is the expected utility with signal-contingent action before paying for the test. The current best action already earns 20, so information adds only 10.
3.Optional: could a costless test have negative expected value if ignoring its result is allowed?Answer
No under a coherent fixed utility and probability model. You can retain the original action for every signal. Test costs, delays or model misspecification can change the practical value.
You're done when
Your library outcome table covers every result, including equality at break-even and failed guardrails, without repeated unplanned peeking. The numeric information-value extension is optional.
Only when you can do this without notes.
Leads to
Notes
Resources · 3 for this unit, 7 more in the section
- 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.
- 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.
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.
- 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.
- 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.