def METHOD_NAME(self):
    self.hyperpipe = Hyperpipe('optimizer_test',
                               project_folder='./tmp',
                               metrics=['accuracy'],
                               best_config_metric='accuracy',
                               inner_cv=KFold(n_splits=2),
                               outer_cv=ShuffleSplit(n_splits=2),
                               optimizer=self.optimizer_name,
                               optimizer_params=self.optimizer_params,
                               verbosity=0)