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

Feature: Nullified hyperparameter (by unused optional steps) to be returnable as keys in a method of class `HyperparamSamples` #254

Open
guillaume-chevalier opened this issue Feb 8, 2020 · 0 comments
Labels

Comments

@guillaume-chevalier
Copy link
Member

@guillaume-chevalier guillaume-chevalier commented Feb 8, 2020

We need def HyperparamSamples.get_nullified_keys to remember which hyperparams were nullified by the Optional and ChooseOneOf classes, ChoosManyOf, etc.

hp = step.get_hyperparams()

dict_with_double_underscores = hp.to_flat_dict()

the_keys_of_the_double_underscores_that_were_nullified_this_time = hp.get_nullified_keys()

dict_with_double_underscores.remove(the_keys_of_the_double_underscores_that_were_nullified_this_time)

This is needed for the TPE @alexbrillant @Eric2Hamel

Me or Alex should start this or do this on 11 feb or approx.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.