Skip to content

Commit

Permalink
Validate the configuration produced by LlamaTune inverse_transform()
Browse files Browse the repository at this point in the history
  • Loading branch information
motus committed Jul 17, 2024
1 parent 758fbdf commit 4b55dbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mlos_core/mlos_core/spaces/adapters/llamatune.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ def inverse_transform(self, configurations: pd.DataFrame) -> pd.DataFrame:
self.target_parameter_space,
vector=target_config_vector,
)
self.target_parameter_space.check_configuration(target_config)
# target_config.check_valid_configuration() # for ConfigSpace 1.0

target_configurations.append(target_config)

Expand Down

0 comments on commit 4b55dbb

Please sign in to comment.