From edeabbb6b74d9ae5405517503c221d7223d26705 Mon Sep 17 00:00:00 2001 From: Sarah Krebs Date: Fri, 30 Aug 2024 09:24:59 +0200 Subject: [PATCH] Use minimal required diff to 0 for multi-objective ablations --- deepcave/evaluators/mo_ablation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepcave/evaluators/mo_ablation.py b/deepcave/evaluators/mo_ablation.py index c7c24a89..a3d5507d 100644 --- a/deepcave/evaluators/mo_ablation.py +++ b/deepcave/evaluators/mo_ablation.py @@ -315,7 +315,7 @@ def ablation( continue_ablation, max_hp, max_hp_performance, max_hp_std """ max_hp = "" - max_hp_difference = -np.inf + max_hp_difference = 0 for hp in hp_it: if hp in incumbent_config.keys() and hp in self.default_config.keys():