if self.epoch_limit <= 0:
            log_str += "  III: Termination based on Epoch Limit is disabled\n"
            # Set to infinity.
            self.epoch_limit = np.Inf
        else: