Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration.check_valid_configuration() missleading documentation #399

Open
LukasFehring opened this issue Nov 25, 2024 · 0 comments
Open

Comments

@LukasFehring
Copy link

LukasFehring commented Nov 25, 2024

The function Configuration.check_valid_configuration() is documented to check whether a config is valid. However, it is not well specified when a configuration is valid.
Internally, the function calls:

from ConfigSpace.util import check_configuration

check_configuration(
  self.config_space,
  self._vector,
  allow_inactive_with_values=self.allow_inactive_with_values,
)

However, the function check_configuration does not appear to check whether the specified config is in the bounds of the ConfigurationSpace. It appears to mainly check whether the Conditions are met

Is this intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant