def evaluate(self, x):
        assert len(x.shape) == 2
        assert x.shape[1] == self.n_dims
        assert np.all(x >= self.X_lower)
        assert np.all(x <= self.X_upper)

        if self.do_scaling:
            x = self.retransform(x)
        return (self.objective_function(x))
Test to ensure assigning a function works as expected
dataset/ETHPy150Open automl/RoBO/robo/task/base_task.py/BaseTask.evaluate--crossover with--dataset/ETHPy150Open timothycrosley/jiphy/test_jiphy.py/test_assigned_function