code: def __init__(self, base_estimators, name=None):
      self.base_estimators = base_estimators
      self.name = name
      assert not hasattr(
          self.base_estimators[0], "classes_"
      ), "base estimator cannot be a classifier"
  
imports: import numbers
  from joblib import Parallel, delayed
  import numpy
  from scipy.stats import kendalltau, rankdata, spearmanr
  from sklearn.base import BaseEstimator, clone
  from sklearn.model_selection import check_cv
  from sklearn.utils._param_validation import Interval, StrOptions
  from .base import _fit_and_score
  from .stacking import Stacking
label_desc: Use image node_id 1 to create a new EnsembleAverage object from inherited base classes: BaseEstimator with example: obj = EnsembleAverage(base_estimators, name)