Skip to content

Commit

Permalink
Fix bug where the local importance plots were all identical independe…
Browse files Browse the repository at this point in the history
…nt of the cost function used (#71)
  • Loading branch information
alexandertornede committed Feb 19, 2024
1 parent 0cda1d4 commit 31fa103
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepcave/evaluators/lpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def calculate(
self.rs = np.random.RandomState(seed)

# Get data
df = self.run.get_encoded_data(budget=budget, specific=True, include_combined_cost=True)
df = self.run.get_encoded_data(
objectives=objectives, budget=budget, specific=True, include_combined_cost=True
)
X = df[self.hp_names].to_numpy()
Y = df[COMBINED_COST_NAME].to_numpy()

Expand Down

0 comments on commit 31fa103

Please sign in to comment.