Skip to content

Commit

Permalink
Default to self._metrics if metrics not available
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiebergman committed Jun 9, 2022
1 parent 864414d commit 55c792b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autosklearn/automl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,7 @@ def fit_ensemble(
else:
self._is_dask_client_internally_created = False

metrics = metrics if metrics is not None else self._metrics
if not isinstance(metrics, Sequence):
metrics = [metrics]

Expand Down

0 comments on commit 55c792b

Please sign in to comment.