Open sw33zy opened 1 year ago
CategoricalMultiple is not supported for TPE strategy.
But I think we can do better by handling the special case where n_chosen=1
for CategoricalMultiple in as_legacy_dict()
. The as_legacy_dict()
was meant to be temporary at the moment when it was implemented. But right now as it's becoming long-term, it might be worth the effort to implement the trick.
Describe the issue: In version 3.0rc1 TPE does not seem to be compatible with the InputChoice primitive. In addition, I found TPE tuner is default to minimize (I'm assuming because hpo tuners all minimize), but this isn't coherent with https://github.com/microsoft/nni/issues/5626#issuecomment-1615350440 , perhaps it should be initialized with optimize_mode='maximize'.
Relevant code:
Raises:
Environment: