ForecastingWorkflowConfig#

class openstef_foundation_models.presets.forecasting_workflow.ForecastingWorkflowConfig(*, model: ~typing.Literal['chronos2'] = 'chronos2', checkpoint: ~openstef_foundation_models.models.checkpoint.LocalCheckpoint | ~openstef_foundation_models.models.checkpoint.HubCheckpoint = HubCheckpoint(kind='hub', repo_id='OpenSTEF/chronos-2-onnx', filename='chronos-2.onnx', metadata_filename=None, revision=None, repo_type='model', local_dir=None), quantiles: list[~openstef_core.types.Quantile] = [0.5], horizons: list[~openstef_core.types.LeadTime] = [LeadTime('P2D')], target_column: str = 'load', selected_features: ~openstef_models.utils.feature_selection.FeatureSelection = <factory>, backend: ~openstef_foundation_models.presets.forecasting_workflow.OnnxBackendConfig = <factory>, chronos2_hyperparams: ~openstef_foundation_models.models.forecasting.chronos2_forecaster.Chronos2HyperParams = <factory>, model_id: ~openstef_models.mixins.model_serializer.ModelIdentifier = 'chronos2', run_name: str | None = None, experiment_tags: dict[str, str] = <factory>)[source]

Bases: BaseConfig

Declarative 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 backend config.

Parameters:
model: Literal['chronos2']
checkpoint: LocalCheckpoint | HubCheckpoint
quantiles: list[Quantile]
horizons: list[LeadTime]
target_column: str
selected_features: FeatureSelection
backend: OnnxBackendConfig
chronos2_hyperparams: Chronos2HyperParams
model_id: ModelIdentifier
run_name: str | None
experiment_tags: dict[str, str]
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': False, 'extra': 'ignore', 'protected_namespaces': ()}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].