(self, objective_function, lower, upper,
                 verbose=True, restarts=0, n_func_evals=1000, rng=None)
Interface for the  Covariance Matrix Adaptation Evolution Strategy
        python package

        Parameters
        ----------
        objective_function: acquisition function
            The acquisition function which will be maximized
        lower: np.ndarray (D)
            Lower bounds of the input space
        upper: np.ndarray (D)
            Upper bounds of the input space
        n_func_evals: int
            The maximum number of function evaluations
        verbose: bool
            If set to False the CMAES output is disabled
        restarts: int
            Number of restarts for CMAES
        rng: numpy.random.RandomState
            Random number generator
Interface for the  Covariance Matrix Adaptation Evolution Strategy
        python package
Interface for the Covariance Matrix Adaptation Evolution Strategy python package
def __init__(self, objective_function, lower, upper,
                 verbose=True, restarts=0, n_func_evals=1000, rng=None):
        """
        Interface for the  Covariance Matrix Adaptation Evolution Strategy
        python package

        Parameters
        ----------
        objective_function: acquisition function
            The acquisition function which will be maximized
        lower: np.ndarray (D)
            Lower bounds of the input space
        upper: np.ndarray (D)
            Upper bounds of the input space
        n_func_evals: int
            The maximum number of function evaluations
        verbose: bool
            If set to False the CMAES output is disabled
        restarts: int
            Number of restarts for CMAES
        rng: numpy.random.RandomState
            Random number generator
        """
        if lower.shape[0] == 1:
            raise RuntimeError("CMAES does not works in a one \
                dimensional function space")

        super(CMAES, self).__init__(objective_function, lower, upper, rng)

        self.restarts = restarts
        self.verbose = verbose
        self.n_func_evals = n_func_evals
def __init__ ( self , objective_function , lower , upper , verbose = True , restarts = 0 , n_func_evals = 1000 , rng = None ) : if lower . shape [ 0 ] == 1 : raise RuntimeError ( "CMAES does not works in a one \
                dimensional function space" ) super ( CMAES , self ) . __init__ ( objective_function , lower , upper , rng ) self . restarts = restarts self . verbose = verbose self . n_func_evals = n_func_evals