def __call__(self, X, derivative=False, **kwargs):
        if derivative:
            raise BayesianOptimizationError(
                BayesianOptimizationError.NO_DERIVATIVE,
                "Mean  does not support derivative calculation until now")
        if np.any(X < self.X_lower) or np.any(X > self.X_upper):
            return np.array([[- np.finfo(np.float).max]])
        mean, _ = self.model.predict(X)
        return -mean
dataset/ETHPy150Open automl/RoBO/robo/solver/contextual_bayesian_optimization.py/MeanAcquisitionFunction.__call__/original