ForecastingWorkflowConfig#
- class openstef_foundation_models.presets.ForecastingWorkflowConfig(**data: Any) None[source]#
Bases:
BaseConfigDeclarative configuration for a foundation-model forecasting workflow.
Selects a model family and the checkpoint that backs it, the requested quantiles and horizons, the target column, and the columns to keep before forecasting. Every kept non-target column is treated as a known covariate, so weather forecasts condition the prediction. Compute settings (execution providers, session options) live on the nested
backendconfig.- Parameters:
data (
Any)
- checkpoint: Annotated[LocalCheckpoint | HubCheckpoint, FieldInfo(annotation=NoneType, required=True, discriminator='kind')]#
Checkpoint (weights + metadata) to load and run. Defaults to the published OpenSTEF Chronos-2 dynamic ONNX checkpoint on the HuggingFace Hub. Pick a size and variant with `Chronos2.<SIZE>.checkpoint(…)`, or pass a LocalCheckpoint to run a file already on disk.
- selected_features: FeatureSelection#
Columns to keep before forecasting. Defaults to all columns. Every kept non-target column is forwarded to the model as a known covariate. Must include the target column.
- backend: OnnxBackendConfig#
Inference backend (compute) configuration: execution providers and session options.
- chronos2_hyperparams: Chronos2HyperParams#
Hyperparameters for the Chronos-2 forecaster.
- model_id: ModelIdentifier#
Unique identifier for the workflow model.