code: def get_state(self, **kwargs):
          "Return the minimal state for export."
          state = {'x_cls':self.x.__class__, 'x_proc':self.x.processor,
                   'y_cls':self.y.__class__, 'y_proc':self.y.processor,
                   'tfms':self.tfms, 'tfm_y':self.tfm_y, 'tfmargs':self.tfmargs}
          if hasattr(self, 'tfms_y'):    state['tfms_y']    = self.tfms_y
          if hasattr(self, 'tfmargs_y'): state['tfmargs_y'] = self.tfmargs_y
          return {**state, **kwargsf get_state(self, **kwargs):
          "Return the minimal state for export."
          state = {'x_cls':self.x.__class__, 'x_proc':self.x.processor,
                   'y_cls':self.y.__class__, 'y_proc':self.y.processor,
                   'tfms':self.tfms, 'tfm_y':self.tfm_y, 'tfmargs':self.tfmargs}
          if hasattr(self, 'tfms_y'):    state['tfms_y']    = self.tfms_y
          if hasattr(self, 'tfmargs_y'): state['tfmargs_y'] = self.tfmargs_y
          return {**state, **kwargs}
docs: Return the minimal state for export.