forecasting_workflow#
Presets for building foundation-model forecasting workflows from config.
A ForecastingWorkflowConfig declares the model family, the checkpoint
that backs it, the requested quantiles/horizons, the target column, and the
columns to keep; create_forecasting_workflow() turns it into a
CustomForecastingWorkflow
with feature-selection preprocessing and quantile-sorting postprocessing. Every
selected non-target column is forwarded to the model as a known covariate.
The checkpoint defaults to the published OpenSTEF Chronos-2 model on the HuggingFace Hub, so the minimal config is just:
workflow = create_forecasting_workflow(ForecastingWorkflowConfig())
Pick a different size or variant through Chronos2,
or pass a LocalCheckpoint
to run a file already on disk.
Functions#
|
Build a foundation-model forecasting workflow from a declarative config. |
Classes#
|
A backend configuration. |
|
Declarative configuration for a foundation-model forecasting workflow. |
|
Compute configuration for an ONNX Runtime inference backend. |