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

[Bug] Hyperparameters can set illegal default values when log=True #330

Open
Neonkraft opened this issue Jul 5, 2023 · 1 comment · May be fixed by #346
Open

[Bug] Hyperparameters can set illegal default values when log=True #330

Neonkraft opened this issue Jul 5, 2023 · 1 comment · May be fixed by #346

Comments

@Neonkraft
Copy link
Contributor

The following code crashes, because NormalFloatHyperparameter attempts to set a default value without respecting the bounds.

cs = ConfigurationSpace(
    name="myspace",
    space={
        "a": Float("a", bounds=(1, 2), distribution=Normal(1, 0), log=True),
    },
)

I've observed the same problem with {Normal/Beta}{Float/Integer}Hyperparameter.

@eddiebergman
Copy link
Contributor

This example seems fixed in #346! Will hopefully be released next week :)

@eddiebergman eddiebergman linked a pull request Apr 16, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants