GBLinearHyperParams#
- class openstef_models.models.forecasting.gblinear_forecaster.GBLinearHyperParams(**data: Any) None[source]
Bases:
HyperParamsHyperparameter configuration for GBLinear forecaster.
- Parameters:
data (
Any)
- objective: ObjectiveFunctionType | Literal['reg:quantileerror']
- evaluation_metric: EvaluationFunctionType
- feature_selector: Annotated[str, CategoricalRange(choices='cyclic', 'shuffle', 'random', 'greedy', 'thrifty', tune=False)]
- top_k: int
- classmethod forecaster_class() type[GBLinearForecaster][source]
Forecaster class for these hyperparams.
- Return type:
type[GBLinearForecaster]- Returns:
Forecaster class associated with this configuration.
- 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].