(self)
return np.clip(res["x"], self.lower, self.upper)
Maximizes the given acquisition function.

        Returns
        -------
        np.ndarray(N,D)
            Point with highest acquisition value.
Maximizes the given acquisition function.
Maximizes the given acquisition function .
def maximize(self):
        """
        Maximizes the given acquisition function.

        Returns
        -------
        np.ndarray(N,D)
            Point with highest acquisition value.
        """

        bounds = list(zip(self.lower, self.upper))

        res = sp.optimize.differential_evolution(self._acquisition_fkt_wrapper(self.objective_func),
                                                 bounds, maxiter=self.n_iters)

        return np.clip(res["x"], self.lower, self.upper)
def maximize ( self ) : bounds = list ( zip ( self . lower , self . upper ) ) res = sp . optimize . differential_evolution ( self . _acquisition_fkt_wrapper ( self . objective_func ) , bounds , maxiter = self . n_iters ) return np . clip ( res [ "x" ] , self . lower , self . upper )