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 e14d90c commit ba06427
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepcave/plugins/hyperparameter/importances.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ def process(run: AbstractRun, inputs: Dict[str, Any]) -> Dict[str, Any]:
if isinstance(objective, list):
assert isinstance(evaluator, (MOLPI, MOfANOVA))
importances = evaluator.get_importances_(hp_names)
print(importances)
if any(pd.read_json(StringIO(importances))["importance"].isna()):
logger.warning(f"Nan encountered in importance values for budget {budget}.")
else:
Expand Down

0 comments on commit ba06427

Please sign in to comment.