Skip to content

Commit bff04ce

Browse files
authored
Merge pull request #113 from automl/bug/local-importance-plots
Fix bug with local importance plots (#71)
2 parents e6c1f2e + a0ac677 commit bff04ce

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Disable debug mode.
1414

1515
## Bug-Fixes
16+
- Fix missing objective specification in LPI evaluator (#71).
1617
- Don't convert BOHB runs with status 'running' (consistent with SMAC).
1718
- Fix api examples (#68).
1819
- Reset inputs to fix error when subsequently selecting runs with different configspaces, objectives or budgets (#106).

deepcave/evaluators/lpi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ def calculate(
6060
self.rs = np.random.RandomState(seed)
6161

6262
# Get data
63-
df = self.run.get_encoded_data(budget=budget, specific=True, include_combined_cost=True)
63+
df = self.run.get_encoded_data(
64+
objectives=objectives, budget=budget, specific=True, include_combined_cost=True
65+
)
6466
X = df[self.hp_names].to_numpy()
6567
Y = df[COMBINED_COST_NAME].to_numpy()
6668

0 commit comments

Comments
 (0)