Skip to the main content
Research · Calibration

Model performance
& validation.

All metrics on this page come from the daily pipeline output. Spatial backtests use county-level GroupKFold holdout. The persistence baseline gives a lower bound on skill. The public forecast covers 232 of 341 California beaches (68% coverage).

ML challenger · registry winner
xgb-undersample-ensemble-curated-v0

Since 2026-09-22 users first saw the per-beach lookup as the served number. From 2026-09-28 through 2026-10-01 v1 adjusted that lookup with a logistic model (latest result, recency, 72-hour rain, season). Since 2026-10-02 v2 adds a ddPCR indicator and an R·ddpcr term. R is how far the last result was above or below its own limit on a log scale. The ML below still trains daily as a challenger. The metrics on this page describe it, not the served rating.

Today's served estimate: logit-lookup-offset-v2. From July through 2026-09-22 a serve-time router split beaches between this ensemble and an offset model by sample age. That router no longer sets the served number.
Public release eligible

Discrimination & calibration scores.

These are the ML challenger scores on days a lab sample was taken, with fresh lab history as input. They are not comparable with the served estimate scores on the Research page. Those scores grade every published day against the next lab result. AUC-PR rises with the share of exceedances, which is higher on sample days. The Research page scores the challenger the same way as the served estimate, on the same forecasts.

Challenger test AUCPR
0.7416
sample-days, temporal holdout
Challenger test Brier
0.0607
lower is better
Temporal val AUCPR
0.8186
time-blocked CV
Temporal val Brier
0.0771
time-blocked CV
Sensitivity @ 87% spec
79.0%
Searcy 2018 benchmark
Regime note— these holdout scores use days a lab sample was taken (fresh history). The public forecast is issued daily. Most days have a last lab result that is already several days old. That is a harder regime. See the methodology for how served-day performance is tracked.
AUCPR baseline— the persistence model (yesterday's result as today's prediction) scores 0.4765 at the county holdout level and 0.7871 at the beach holdout level in the current pipeline snapshot. The production model must clear that margin before promotion. These values are read live from the daily pipeline output. They were previously hardcoded at 0.172 / 0.241. That understated the baseline by roughly 3× and overstated the model margin over it.

Agreement with active advisories.

Each day the served forecast is checked against the beaches under an active health advisory or closure — the operational ground truth. A false negative is an advised beach the forecast did not flag; those are tracked with priority because they are the unsafe direction.

Agreement rate
100.0%
forecast vs advisory
False negatives
0
missed advisories
False positives
115
over-warnings
Active advisories
106
risk threshold 0.2
audited 2026-11-22

Performance on unseen geography.

County GroupKFold holdout: each fold withholds all beaches from one county. This tests performance on locations not seen during training.

ModelAUCPRBrierFoldsRowsBase rate
spatial beach persistence0.78710.1686151222752.2%
spatial county persistence0.47650.136866807118.9%
spatial beach xgb undersample ensemble0.94670.0996151222752.2%
spatial county xgb undersample ensemble0.68900.103066807118.9%
spatial beach hist gbm0.94490.1020151222752.2%
spatial county hist gbm0.67100.107766807118.9%
spatial beach hist gbm positive persistence guard0.82510.1444151222752.2%
spatial county hist gbm positive persistence guard0.58350.125466807118.9%
spatial beach hist gbm persistence blend0.94230.1140151222752.2%
spatial county hist gbm persistence blend0.69710.096566807118.9%
spatial beach xgb undersample offset0.90820.1956151222752.2%
spatial county xgb undersample offset0.51350.129666807118.9%

Models evaluated each CI run.

All candidates must clear the block-bootstrap AUCPR gate to be eligible for production. The temporal validation winner becomes production if it also clears the spatial backtest promotion policy.

logistic-curated-v0logistic-coastal-cells-curated-v0logistic-hierarchical-curated-v0hist-gbm-curated-v0hist-gbm-positive-persistence-guard-curated-v0xgb-undersample-ensemble-curated-v0 ★stacked-ensemble-curated-v0
Full evaluation protocol
Technical Methodology
Spatial CV protocol, promotion gates, and feature rationale.
Read methodology →