predict(new_df=...), which is
zero-shot transfer rather than a per-series refit. Both workflows below
rely on that shared-weight behavior.
Scale the target before pooling series A global model sees every series through one set of coefficients, so series on different levels have to be made comparable first. The forecaster below appliesWe use the classic Box–Jenkins airline passenger series, holding out its final 12 months before generating any augmented data.Differences([12])to remove the annual seasonal trend andLocalStandardScaler()to put each series on its own scale. Without those transforms every synthetic workflow on this page degrades by a factor of four to six: the estimator fits whatever level the synthetic panel happens to occupy and predicts a nearly flat line for the airline series. That failure is a symptom of the model configuration, not of the synthetic data.
The next cell builds the four training sets. The observed baseline is
the single airline series. The augmented panel adds eight counterparts
of that series, drawn with
SynAugment under a SARIMA override so the
generated histories match its seasonal structure; the 12-month holdout
is removed first, so no future value reaches the augmenter.
The two pretraining panels are both independent of the airline data, and
differ only in how they were composed:
- matched monthly pool — SARIMA, ETS, and seasonal generators configured for monthly data with a 12-step seasonal period, an upward trend, and a comparable level.
- generic balanced pool —
generate_serieswith its defaults, which spans random walks, volatility clustering, chaos, and counts at whatever scale each process produces.
predict(new_df=...). The estimators below are fitted only on
independent SynForecast series; the observed history is supplied only
when producing its recursive lag features and forecasts. This is
zero-shot transfer, not fine-tuning.
Fitting both pools separately is what makes the comparison useful: the
pretraining corpus is a modeling choice, and choosing it badly costs
more accuracy here than skipping pretraining altogether.


