Wrapping qKG with FixedFeature: full_tree evaluates to True s.t. fantasy candidates aren't masked #3015
-
| I suspect I am ignorant to some bigger design issue, but I am currently observing the following behaviour for my code: Because I am fixing the fidelity in the qKG via the FixedFeatureAcquisitionFunction, return_full_tree evaluates to True (https://github.com/pytorch/botorch/blob/9a45872462ab4a6917bf147946111ad3f0bbc86e/botorch/optim/optimize.py#L94) s.t. _optimize_acqf (https://github.com/pytorch/botorch/blob/9a45872462ab4a6917bf147946111ad3f0bbc86e/botorch/optim/optimize.py#L574) evaluates to False and therefore extract_candidates is not run. Code What am I missing? Thanks! | 
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
| Hi @jakobzeitler ! I'll look into it and get back to you ASAP. | 
Beta Was this translation helpful? Give feedback.
-
| My fix is to run 
 but I am worried I am violating design conventions. Thanks in advance for any help or guidance. | 
Beta Was this translation helpful? Give feedback.
Not that I can think of. I am fairly confident that the machinery is the same, but the imputation of fixed values occur in different places in the codebase (inside the acqf for FixedFeatureAcquisitionFunction, inside
optimize_acqffor thefixed_featuresoptions. Running them side by side for 20ish rounds each, they yielded similar candidates.In Ax, we use the latter, so that is what I would personally recommend based on convention.