liveBook · Manning

Hypothesis

As explained in Machine Learning System Design

A hypothesis is a testable proposition about an expected relationship or effect in an experiment.

A hypothesis is a testable proposition linking an action to a goal, expected metric change, and estimated uplift. For example: deploying a new solution will reduce out-of-stock situations and narrow the gap between predicted and actual sales. section 12.2.1

A useful hypothesis makes the experiment measurable: define the action, problem, metrics, expected uplift, and evidence behind the estimate. Offline evaluation can refine the expected effect before online testing. section 12.2.1 section 12.1

Before running an A/B test, connect the hypothesis to:

  • A minimum detectable effect no larger than the expected uplift. section 12.2.1
  • Key, control, and auxiliary metrics that distinguish the intended effect from related changes. section 12.5
  • Type I and Type II error thresholds, sample size, experiment duration, and seasonality. section 12.2.1

From offline estimate to online test

An offline evaluation suggests that a modified ML solution may improve the target metric. The hypothesis turns that estimate into an A/B-testable claim, after which the observed effect, segment differences, rollout expectation, and next steps can be reported. section 12.1 section 12.5

How Machine Learning System Design covers it

How deep it goes
Defines components and planning parameters, but defers detailed sample-size mathematics.
Examples
Uses retail stockouts and sales prediction, plus offline estimates preceding online experiments.
What it assumes
Assumes a defined system goal and metrics while teaching how to turn them into an experimentally testable claim.
What you can do after
Apply it via an A/B test by specifying metrics, uplift, error thresholds, duration, and reporting expectations.
How it connects
Connects actions, goals, metrics, expected uplift, offline evaluation, A/B testing, error rates, and sample size.

Also explained in

Compare how 9 books explain hypothesis →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.