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 model_weights(self) -> np.ndarray:
      return np.array(
          list(self.model_to_weight.values()), dtype=np.float64
      )
  
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 4 for calling the TimeSeriesGreedyEnsemble obj's underlying member method code with example usage: obj.model_weights() and returns: np