keras-team / keras-tuner

A Hyperparameter Tuning Library for Keras
https://keras.io/keras_tuner/
Apache License 2.0
2.86k stars 396 forks source link

1.0.2 breaking change on kerastuner.engine.hyperparameters #449

Open SinaChavoshi opened 3 years ago

SinaChavoshi commented 3 years ago

There seems to be a breaking change in 1.0.2 specifically on kerastuner.engine.hyperparameters. I was wondering if this was intentional as there was no mention in release notes.

v1.0.0 v.s. v1.0.2 repr(hparams) output:

actual output:
- {HParam(name='condition', domain=Discrete([True]), display_name=None, description=None): True}

v.s. expected output:
+ {HParam(name='condition', domain=Discrete([1]), display_name=None, description=None): 1}
haifeng-jin commented 3 years ago

Thanks for the issue. This is unintentional. Would you share with us which output do you think makes better sense? and why?