Skip to content

Commit

Permalink
roll back the config check
Browse files Browse the repository at this point in the history
  • Loading branch information
motus committed Jan 10, 2024
1 parent 7a68ce1 commit 0cc11e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mlos_core/mlos_core/optimizers/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def suggest(self, context: Optional[pd.DataFrame] = None, defaults: bool = False
"Suggest returned a configuration with the wrong number of parameters."
if self._space_adapter:
configuration = self._space_adapter.transform(configuration)
assert set(configuration.columns) == set(self.parameter_space), \
"Space adapter transformed configuration has incorrect parameters."
assert set(configuration.columns).issubset(set(self.parameter_space)), \
"Space adapter transformed configuration with the wrong number of parameters."
return configuration

@abstractmethod
Expand Down

0 comments on commit 0cc11e8

Please sign in to comment.