Skip to content

Commit

Permalink
Bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
daphne12345 committed Aug 29, 2024
1 parent 8bf2803 commit 0dc1f64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deepcave/evaluators/mo_ablation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 "
Expand Down

0 comments on commit 0dc1f64

Please sign in to comment.