VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Gold Standard of Experimental Design | Selective Reporting Across Learner Libraries, Tuning Grids and Fold Seeds

Original illustration of university researchers discussing a laboratory notebook, sample containers and an abstract chart; not an actual study or result.
THE GOLD STANDARD · EXPERIMENTAL DESIGN

Make the inference visible before trusting it

A result chosen from many learners, grids and fold assignments is an adaptive result; credible evaluation reports the search, separates selection from assessment and exposes variability.

Machine-learning experiments rarely involve one fixed analysis. Researchers choose a software library, preprocessing pipeline, learner family, hyperparameter range, cross-validation splitter, random seed and reporting metric. Trying many reasonable combinations and publishing only the strongest score turns implementation flexibility into selection. The remedy is not one ceremonial seed. It is to define the comparison unit, keep tuning inside an honest evaluation design and report how conclusions change across defensible pipelines.

ROUTE 01 · CHAPTERS 1–3
Frame the claim
ROUTE 02 · CHAPTERS 4–6
Work the evidence
ROUTE 03 · CHAPTERS 7–9
Test transfer
ROUTE 04 · CHAPTERS 10–12
Audit and continue

Open the chapter contents · Visit the Experimental Design root

CHAPTER 1 OF 12 · FRAME THE CLAIM

1. Define the object being compared

Back to contents

Decide whether the claim concerns an algorithm in principle, a fully specified implementation, a tuning procedure or an end-to-end pipeline. Two packages using the same learner name may differ in defaults, stopping rules, regularisation scaling, missing-value handling and numerical precision.

The comparison unit should include preprocessing, search space, budget and selection rule. Otherwise the winning “algorithm” may simply have received a wider grid or a more favourable default.

Contents · Experimental Design root · Next chapter

CHAPTER 2 OF 12 · FRAME THE CLAIM

2. List every adaptive choice before interpreting the score

Back to contents

Create a decision register for learner families, features, transformations, hyperparameter ranges, metrics, resampling scheme, fold count, grouping, seeds, early stopping and exclusion rules. Mark which were fixed in advance and which changed after inspecting results.

Exploration is legitimate. The reporting problem arises when exploratory multiplicity disappears from the final narrative. Preserve unsuccessful and neutral branches sufficiently to show the search that produced the headline.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 3 OF 12 · FRAME THE CLAIM

3. Keep model selection separate from performance assessment

Back to contents

Using the same cross-validation results to choose hyperparameters and report performance creates optimistic bias. Place the entire tuning procedure inside an outer evaluation loop, or use a genuinely untouched test set when the design supports it. The outer unit must respect clusters, people, sites or time.

Nested evaluation estimates the performance of the selection procedure, not the best inner-fold score. Refit choices may use all outer-training data, but the outer test fold must remain unseen until assessment.

LayerTraining roleAssessment rule
PreprocessingFit within training dataApply unchanged to test fold
TuningChoose on inner dataDo not report inner maximum
Outer testNo selection useEstimate full procedure
A practical check for chapter 3.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 4 OF 12 · WORK THE EVIDENCE

4. Make learner libraries comparable

Back to contents

Record package names, versions, wrappers, defaults and computational budgets. Harmonise what can be harmonised—data splits, metrics and eligible information—without erasing meaningful implementation differences. If one library searches fifty configurations and another five hundred, report the budget as part of the intervention.

Defaults are hyperparameters chosen by somebody else, not neutral baselines. Compare both well-documented defaults and an equally resourced tuning protocol when each answers a useful question.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 5 OF 12 · WORK THE EVIDENCE

5. Design tuning grids as scientific inputs

Back to contents

Explain parameter ranges, scale and resolution. A linear grid for a parameter spanning orders of magnitude can under-search small values; a hand-refined range after viewing test results is leakage. Conditional parameters and early-stopping budgets also shape which models can win.

Use pilot or prior evidence to set the grid, then lock it for evaluation. If the grid changes, label a new analysis and reassess on untouched data. Report boundary winners because they show that the search space, not only the learner, determined the result.

Grid featureRiskReport
RangeWinner at boundaryExact endpoints
ScaleDense in wrong regionLinear or logarithmic
BudgetUnequal opportunityTrials and compute
A practical check for chapter 5.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 6 OF 12 · WORK THE EVIDENCE

6. Worked example: the winning classifier moves with the seed

Back to contents

A school-risk dataset is analysed with three libraries, four learners and two tuning grids. One five-fold split makes a boosted tree lead logistic regression by 0.012 AUC. Across twenty prespecified fold seeds, the mean difference is 0.003 and the ranking reverses nine times. The broad grid helps the boosted tree only because it contains a lower learning rate absent from the narrow grid.

The final report presents the distribution of outer-fold differences, the learner–grid interaction and computational cost. It concludes that the data do not establish a stable winner, though several pipelines perform similarly. A single attractive leaderboard would have overstated the evidence.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 7 OF 12 · TEST TRANSFER

7. Treat fold assignment as a design variable

Back to contents

Different valid partitions change training composition and which observations test each model. Small, imbalanced or clustered data can make this variation substantial. Generate seeds independently of outcomes, use the same outer splits for paired comparisons and repeat the whole pipeline across a prespecified set.

Do not search seeds and retain the one with the strongest result. Report seed-level estimates or an uncertainty summary that preserves dependence among methods evaluated on common splits.

Split sourceVariation introducedSafeguard
Random seedDifferent fold membershipPrespecified repeated seeds
Grouping ruleLeakage or independenceKeep units together
Time originDifferent historical regimesRolling blocked evaluation
A practical check for chapter 7.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 8 OF 12 · TEST TRANSFER

8. Changed-context transfer check: a time-series forecast

Back to contents

Move from independent pupils to monthly demand forecasting. Random folds leak future information and break temporal dependence. The transferable rule is still to separate tuning from assessment and expose design variability. The changed design uses rolling or blocked origins, realistic forecast horizons and preprocessing fitted only on past data.

Repeat across several origin schedules rather than random seeds alone. A learner that wins only during one unusual economic period should not be described as universally superior.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 9 OF 12 · TEST TRANSFER

9. Analyse the multiverse, not just the champion

Back to contents

Summarise performance across libraries, grids, splits and metrics with paired differences, distributions and rank stability. Predefine primary choices while using the wider multiverse to reveal sensitivity. When many comparisons are inferential, address multiplicity or frame them as exploratory.

Do not average away a structural interaction. If one library changes conclusions through a default or preprocessing convention, show that mechanism. Stability means substantive conclusions persist across reasonable choices, not that every score is identical.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 10 OF 12 · AUDIT AND CONTINUE

10. Audit compute, failures and stopping

Back to contents

Retain configuration files, environments, random-number settings, fold indices, logs, failed runs, timeouts and hardware details that affect results. Excluding failed configurations after seeing poor performance can favour fragile methods. Define how errors and budget exhaustion are counted.

Publish enough code and manifests to reconstruct the selection path. Deterministic replay of one seed is useful, but scientific reproducibility also asks whether the conclusion survives legitimate random variation.

Audit artefactPurposeFailure signal
Fold indicesReconstruct evaluationSeed only
Run manifestTrack every configurationWinner configuration only
Failure logReveal fragilityTimeouts silently dropped
A practical check for chapter 10.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 11 OF 12 · AUDIT AND CONTINUE

11. Frequently asked questions

Back to contents

Is one fixed seed reproducible? It is replayable, but it does not reveal seed variability. Must every possible learner be tried? No; justify a bounded library. Can nested cross-validation remove all bias? No; it helps separate tuning from evaluation but still inherits data and design limitations. Should the best outer-fold model be refitted? Refit according to the prespecified deployment rule, not by peeking at outer test outcomes.

Contents · Previous chapter · Experimental Design root · Next chapter

CHAPTER 12 OF 12 · AUDIT AND CONTINUE

12. The gold standard reports the procedure that generated the winner

Back to contents

A machine-learning result belongs to a search procedure: eligible pipelines, tuning budget, fold construction, random variation and selection rule. Define that procedure, protect its evaluation data and show the distribution of conclusions across defensible implementations.

The gold standard does not forbid optimisation. It prevents optimisation from masquerading as one fixed confirmatory test. Readers can then judge whether an apparent winner reflects stable evidence, a consequential default or a lucky path through the analytical garden.

Contents · Previous chapter · Experimental Design root · Return to Experimental Design