code: def __init__(
      self,
      ensemble_predictors,
      type_of_estimator,
      ensemble_method="average",
      num_classes=None,
  ):
      self.ensemble_predictors = ensemble_predictors
      self.type_of_estimator = type_of_estimator
      self.ensemble_method = ensemble_method
      self.num_classes = num_classes
  
file_path: auto_ml/auto_ml/utils_ensembling.py
imports: import os
  import numpy
  import pandas
  import pathos
  from sklearn.base import BaseEstimator, TransformerMixin
label_desc: Use image node_id 1 to create a new Ensembler object from inherited base classes: BaseEstimator, TransformerMixin with example: obj = Ensembler(ensemble_predictors, type_of_estimator, ensemble_method, num_classes)