def true_loss(self, result, config=None):
        """Return a true loss, in the case that the `loss` is a surrogate"""
        # N.B. don't use get() here, it evaluates self.loss un-necessarily
        try:
            return result['true_loss']
        except __HOLE__:
            return self.loss(result, config=config)
dataset/ETHPy150Open hyperopt/hyperopt/hyperopt/base.py/Domain.true_loss