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 7a6b89f commit 26f38ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepcave/plugins/hyperparameter/importances.py
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]:
for budget_id, budget in enumerate(budgets):
assert isinstance(budget, (int, float))
evaluator.calculate(objective, budget, n_trees=n_trees, seed=0)

importances: Union[dict[str, tuple[float, float]], dict[Union[str, tuple[str, ...]], tuple[float, float, float, float]],str, None] = None
if isinstance(objective, list):
assert isinstance(evaluator, (MOLPI, MOfANOVA))
importances = evaluator.get_importances_(hp_names)
Expand Down

0 comments on commit 26f38ca

Please sign in to comment.