class_docstr: Constructs a weighted ensemble using the greedy Ensemble Selection algorithm.
class_docstr_tok: ["Constructs","a","weighted","ensemble","using","the","greedy","Ensemble","Selection","algorithm","."]
code: def __init__(self, name: str, ensemble_size: int = 100, **kwargs):
      super().__init__(name=name, **kwargs)
      self.ensemble_size = ensemble_size
      self.model_to_weight: Dict[str, float] = {}
  
imports: import copy
  import logging
  import pprint
  from typing import Dict, List, Optional
  import numpy
  import autogluon.core
  from autogluon.common.utils.log_utils import set_logger_verbosity
  from autogluon.core.models.greedy_ensemble.ensemble_selection import EnsembleSelection
  from autogluon.timeseries import TimeSeriesDataFrame
  from autogluon.timeseries.metrics import TimeSeriesScorer
  from autogluon.timeseries.models.ensemble import AbstractTimeSeriesEnsembleModel
  from autogluon.timeseries.utils.datetime import get_seasonality
label_desc: Use image node_id 1 to create a new TimeSeriesGreedyEnsemble object from inherited base classes: AbstractTimeSeriesEnsembleModel with example: obj = TimeSeriesGreedyEnsemble(name, ensemble_size)