(self, acquisition_func=None, model=None,
                 maximize_func=None, task=None, save_dir=None)
Base class which specifies the interface for solvers. Derive from
        this class if you implement your own solver.

        Parameters
        ----------
        acquisition_func: BaseAcquisitionFunction Object
            The acquisition function which will be maximized.
        model: ModelObject
            Model (i.e. GaussianProcess, RandomForest) that models our current
            believe of the objective function.
        task: TaskObject
            Task object that contains the objective function and additional
            meta information such as the lower and upper bound of the search
            space.
        maximize_func: MaximizerObject
            Optimization method that is used to maximize the acquisition
            function
        save_dir: String
            Output path
Base class which specifies the interface for solvers. Derive from
        this class if you implement your own solver.
Base class which specifies the interface for solvers . Derive from this class if you implement your own solver .
def __init__(self, acquisition_func=None, model=None,
                 maximize_func=None, task=None, save_dir=None):
        """
        Base class which specifies the interface for solvers. Derive from
        this class if you implement your own solver.

        Parameters
        ----------
        acquisition_func: BaseAcquisitionFunction Object
            The acquisition function which will be maximized.
        model: ModelObject
            Model (i.e. GaussianProcess, RandomForest) that models our current
            believe of the objective function.
        task: TaskObject
            Task object that contains the objective function and additional
            meta information such as the lower and upper bound of the search
            space.
        maximize_func: MaximizerObject
            Optimization method that is used to maximize the acquisition
            function
        save_dir: String
            Output path
        """

        self.model = model
        self.acquisition_func = acquisition_func
        self.maximize_func = maximize_func
        self.task = task
        self.save_dir = save_dir
        if self.save_dir is not None:
            self.create_save_dir()
def __init__ ( self , acquisition_func = None , model = None , maximize_func = None , task = None , save_dir = None ) : self . model = model self . acquisition_func = acquisition_func self . maximize_func = maximize_func self . task = task self . save_dir = save_dir if self . save_dir is not None : self . create_save_dir ( )