code: def __getattr__(self, name: str):
      # override getattr to allow grabbing of regressor attrs
      if name not in ("regressor", "regressor_"):
          if hasattr(self, "regressor_"):
              return getattr(self.regressor_, name)
          return getattr(self.regressor, name)
  
imports: import sklearn.compose
  from sklearn.base import BaseEstimator, ClassifierMixin, clone
  from sklearn.compose import TransformedTargetRegressor
  from sklearn.preprocessing import PowerTransformer
  from sklearn.utils.validation import check_is_fitted
label_desc: Use image node_id 2 for calling the PowerTransformedTargetRegressor obj's underlying member method code with example usage: obj.__getattr__(name) and returns: getattr, getattr