XGBCombinerHyperParams#
- class openstef_meta.models.forecast_combiners.XGBCombinerHyperParams(**data: Any) None[source]
Bases:
HyperParamsHyperparameters for the XGBoost classifier.
- Parameters:
data (
Any)
-
n_estimators:
int
- get_classifier() ClassifierMixin[source]
Create an XGBoost classifier from these hyperparameters.
- Return type:
- Returns:
Configured XGBClassifier instance.
- Raises:
MissingExtraError – If xgboost is not installed.
- 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].