learned_weights_combiner#

Learned Weights Combiner.

Forecast combiner that uses a classification approach to learn weights for base forecasters. It learns which forecaster is likely to perform best under different conditions.

The combiner can operate in two modes:

  • Hard Selection: Selects the base forecaster with the highest predicted probability for each instance.

  • Soft Selection: Uses the predicted probabilities as weights to combine base forecaster predictions.

Classes#

LGBMCombinerHyperParams(*[, n_estimators, ...])

Hyperparameters for the LGBM gradient-boosted classifier.

LogisticCombinerHyperParams(*[, ...])

Hyperparameters for the logistic regression classifier.

RFCombinerHyperParams(*[, n_estimators, ...])

Hyperparameters for the LGBM random-forest classifier.

WeightsCombiner(*, quantiles, horizons, ...)

Combines base forecaster predictions with a classification approach.

XGBCombinerHyperParams(*[, n_estimators])

Hyperparameters for the XGBoost classifier.