Holdout validation

    Holdout validation sets aside part of the data, fits the model on the rest, and checks how well the model predicts the part it never saw.

    Last reviewed

    With time-series data, the held-out part should be the most recent weeks, so the test mirrors real use: predict forward from the past. A model that does much better on its training data than on the holdout has learned noise.

    Good holdout accuracy shows a model can forecast totals. It doesn't show the channel split is right.

    Also called
    Out-of-sample testing, Train-test split
    Topic
    Model quality and Bayesian methods

    Related terms

    Backtesting
    Backtesting replays history: you fit the model using only data up to a past date, forecast the following period, and compare the forecast with what actually happened.
    Cross-validation
    Cross-validation tests a model by repeatedly fitting it on one part of the data and scoring it on another, then averaging the scores.
    Overfitting
    Overfitting is when a model learns the random noise in its training data as if it were real pattern, so it fits history closely and predicts new data badly.
    Mean absolute percentage error (MAPE)
    Mean absolute percentage error is the average size of a model's prediction errors, expressed as a percentage of the actual values.
    Model validation
    Model validation is the set of checks that tell you how far to trust a model: how well it predicts data it hasn't seen, whether its results are stable, and whether they agree with experiments.

    Go deeper

    Want a second opinion?

    Tell us what you're trying to decide and what data you have, and we'll tell you what we'd do. Or take the short readiness quiz first. It's a rough screen, not a verdict. Both open on the home page.