def return_estimator(self):
        """Returns estimator from base learner origin

        Returns:
            est (estimator): Estimator object
        """
        extraction_code = self.source
        estimator = functions.import_object_from_string_code(extraction_code, "base_learner")

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

        Returns:
            est (estimator): Estimator object