From 0dc1f64b09f202c0f3ee0a79be8c5b0436bc5060 Mon Sep 17 00:00:00 2001 From: daphne12345 Date: Thu, 29 Aug 2024 18:09:12 +0200 Subject: [PATCH] Bug fixing --- deepcave/evaluators/mo_ablation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deepcave/evaluators/mo_ablation.py b/deepcave/evaluators/mo_ablation.py index a3070cfa..69234a68 100644 --- a/deepcave/evaluators/mo_ablation.py +++ b/deepcave/evaluators/mo_ablation.py @@ -162,6 +162,7 @@ def calculate( if obj.optimize == "upper": df[normed] = 1-df[normed] + print('upper') objectives_normed.append(normed) # train one model per objective @@ -223,8 +224,6 @@ def calculate_ablation_path(self, df: pd.DataFrame, objectives_normed: List[str] self.run.encode_config(incumbent_config, specific=True), weighting ) - # TODO make sure objectives are minimized - if inc_cost > def_cost: self.logger.warning( "The predicted incumbent objective is worse than the predicted default "