code: def return_estimator(self):
          
          extraction_code = self.source
          estimator = functions.import_object_from_string_code(extraction_code, "base_learner")
  
          return estimator
docs: Returns estimator from base learner origin
  
          Returns:
              est (estimator): Estimator object