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 38588b1 commit e14d90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepcave/evaluators/mo_fanova.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ def get_importances_(
raise RuntimeError("Importance scores must be calculated first.")

if hp_names:
return self.importances_.loc[self.importances_["hp_name"].isin(hp_names)]
return self.importances_.loc[self.importances_["hp_name"].isin(hp_names)].to_json()
else:
return self.importances_.to_json()

0 comments on commit e14d90c

Please sign in to comment.