Prepare the phase for learning

def set_up_phase(self, training_info, model, source: Source):
        """ Prepare the phase for learning """
        self._optimizer_instance = self.optimizer_factory.instantiate(model)
        self._source = source