Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 8 of 13 in this unit

Build AI Systems · ORIGINAL LEARN AI LESSON

Find the cause of an improvement.

Compare all four factorial cells and distinguish interaction from extra compute.

By the end: Compare all four factorial cells and distinguish interaction from extra compute.

Start with the exampleJump to the experimentRead the explanation
Prerequisites and path options

Why learn this? Use a reproducible comparison to make a bounded claim about separate effects and interactions, while keeping development practice separate from independent review.

01 · TRY

Start with something concrete.

Adding a curved feature helps alone; adding shrinkage helps alone. Must both together give the sum of those gains?

Try the interactive model
02 · PREDICT
Before you experiment

Errors baseline/A/B/A+B are 10/7/8/6. What is the interaction?

Errors baseline/A/B/A+B are 10/7/8/6. What is the interaction?
03 · EXPERIMENT

Change one thing. Watch what follows.

Loading this browser experiment…

04 · UNDERSTAND
READ & CONNECT

Understand what changed.

Back to the experiment

A shorter explanation, with the original worked examples available below. Both explain the same experiment and its limits.

Same learning goal in both modes: Compare all four factorial cells and distinguish interaction from extra compute.

Start with a concrete question

Adding a curved feature helps alone; adding shrinkage helps alone. Must both together give the sum of those gains?

What to inspect

Inspect baseline, A, B and A+B on the same task and seed. Change the budget for every cell together and explain the signed interaction.

A factorial comparison evaluates baseline, A only, B only and both. Here A enables a quadratic feature and B adds weight shrinkage. Every cell starts from its declared deterministic initialization and uses the same training and development memberships. The baseline remains a serious model; on the line task a quadratic coefficient can be unnecessary.

Keep the conclusion bounded

Equal updates control one resource but not every cost. The quadratic model computes another feature and coefficient gradient; shrinkage adds arithmetic. Training-example visits exclude validation, data construction and browser work. A fair study states which resource is matched and which is measured separately. Do not remove failed runs or select the best seed. A factorial pattern identifies behavior in this experiment; it does not prove a universal causal mechanism across datasets.

Open the full worked examples, calculations and limitations

This is the same reference used in Technical mode. Expand it whenever you need the exact numbers, assumptions or further explanation.

Start with the question

Adding a curved feature helps alone; adding shrinkage helps alone. Must both together give the sum of those gains?

Mechanism and worked comparison

A factorial comparison evaluates baseline, A only, B only and both. Here A enables a quadratic feature and B adds weight shrinkage. Every cell starts from its declared deterministic initialization and uses the same training and development memberships. The baseline remains a serious model; on the line task a quadratic coefficient can be unnecessary.

For an error metric E, interaction is E(A+B) − E(A) − E(B) + E(base). With errors 10, 7, 8 and 6, the interaction is 1. Separate improvements would predict error 5, but the combined system has error 6: its improvement is smaller than the additive prediction. Negative interaction means a larger combined error reduction. Always state whether the outcome is an error or a reward before interpreting signs.

Equal updates control one resource but not every cost. The quadratic model computes another feature and coefficient gradient; shrinkage adds arithmetic. Training-example visits exclude validation, data construction and browser work. A fair study states which resource is matched and which is measured separately. Do not remove failed runs or select the best seed. A factorial pattern identifies behavior in this experiment; it does not prove a universal causal mechanism across datasets.

Try and explain

Inspect baseline, A, B and A+B on the same task and seed. Change the budget for every cell together and explain the signed interaction.

Open the reproducible study project or use the implementation studio.

05 · APPLY
Check your understanding

Errors baseline/A/B/A+B are 10/7/8/6. What is the interaction?

Errors baseline/A/B/A+B are 10/7/8/6. What is the interaction?
06 · CONTINUE

Take this idea with you.

Compare all four factorial cells and distinguish interaction from extra compute.

My Learning
Explore related topics and the topic map

How this topic connects

Explore this topic on the interactive map

Use these connections to review a foundation or choose where to go next. You can open any topic without completing the others.

What it builds on

You are hereFind the cause of an improvement

Compare all four factorial cells and distinguish interaction from extra compute.

What it enables

  • Reproducible research project Apply in a project

    Use the research project to freeze a question, replay all task/seed comparisons and defend a result-linked report with its limitations.