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

[SearchSpace] Un-intuative behaviour for a search space with a fidelity parameter when ignored, i.e. RandomSearch #122

Open
eddiebergman opened this issue Jul 31, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@eddiebergman
Copy link
Contributor

eddiebergman commented Jul 31, 2024

When introducing a fidelity parameter with is_fidelity=True in RandomSearch, it will return configs where the value of the key, for example "epoch" will be set to None, rather than the maximum fidelity.

This occurs in SearchSpace.sample:

for name, hp in self.hyperparameters.items():
if hp.is_fidelity and ignore_fidelity:
sampled_hps[name] = hp.clone()
continue

This is problematic as if you want to compare RS to some MF algorithm like SH, then you can't just switch out your optimizer with specific code to account for this

@eddiebergman eddiebergman changed the title [Optimizer] Undefined behaviour with fidelity parameter in RandomSearch [Optimizer] Behaviour with fidelity parameter in RandomSearch Jul 31, 2024
@eddiebergman eddiebergman changed the title [Optimizer] Behaviour with fidelity parameter in RandomSearch [Optimizer] Un-intuative behaviour for a search space with a fidelity parameter when ignored, i.e. RandomSearch Jul 31, 2024
@eddiebergman eddiebergman added this to the Search Space milestone Jul 31, 2024
@eddiebergman eddiebergman changed the title [Optimizer] Un-intuative behaviour for a search space with a fidelity parameter when ignored, i.e. RandomSearch [SearchSpace] Un-intuative behaviour for a search space with a fidelity parameter when ignored, i.e. RandomSearch Jul 31, 2024
@eddiebergman eddiebergman added the bug Something isn't working label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant