From 0550b7c26257fbf36695d83c229d231c4e084f28 Mon Sep 17 00:00:00 2001 From: benjamc Date: Tue, 23 Jul 2024 19:12:30 +0200 Subject: [PATCH] Fix merge errors --- smac/acquisition/maximizer/local_and_random_search.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/smac/acquisition/maximizer/local_and_random_search.py b/smac/acquisition/maximizer/local_and_random_search.py index 8a706cda6..258b71453 100644 --- a/smac/acquisition/maximizer/local_and_random_search.py +++ b/smac/acquisition/maximizer/local_and_random_search.py @@ -69,8 +69,6 @@ def __init__( seed: int = 0, uniform_configspace: ConfigurationSpace | None = None, prior_sampling_fraction: float | None = None, - uniform_configspace: ConfigurationSpace | None = None, - prior_sampling_fraction: float | None = None, ) -> None: super().__init__( configspace, @@ -237,10 +235,6 @@ def _maximize( additional_start_points=random_starting_points, ) - next_configs_by_acq_value = next_configs_by_local_search - additional_start_points=random_starting_points, - ) - next_configs_by_acq_value = next_configs_by_local_search next_configs_by_acq_value.sort(reverse=True, key=lambda x: x[0]) first_five = [f"{_[0]} ({_[1].origin})" for _ in next_configs_by_acq_value[:5]]