Neuraxle icon indicating copy to clipboard operation
Neuraxle copied to clipboard

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

Open guillaume-chevalier opened this issue 5 years ago • 3 comments

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.

guillaume-chevalier avatar Feb 08 '20 04:02 guillaume-chevalier

@guillaume-chevalier, I know TPE has been implemented, has this been implemented too?

vincent-antaki avatar Jan 27 '21 00:01 vincent-antaki

Not yet! TPE is working but it was also amidst a refactor. @vincent-antaki

guillaume-chevalier avatar Jan 27 '21 07:01 guillaume-chevalier

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 180 days. Thank you for your contributions.

stale[bot] avatar Aug 02 '22 01:08 stale[bot]