code: def retrieve_outputs(self):
          
  
          metrics = {}
          for obs in self._observers['cv_metrics']:
              metrics[obs.name] = obs.retrieve_metrics()
          self.metrics = metrics
docs: Declare the outputs of the algorithms as attributes: x_final,
          y_final, metrics.