You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #2918
X-link: facebook/Ax#4021
Previously, the TL adapter added a task feature to `SearchSpaceDigest.task_features`, but not to `SearchSpaceDigest.bounds` or `SearchSpaceDigest.feature_names`. This avoided needing to pass the task feature as a fixed_feature when making predictions or generating.
However, there was a bug when using `Normalize` that dropped one non-task feature here: https://github.com/facebook/Ax/blob/main/ax/generators/torch/botorch_modular/surrogate.py#L247-L250
This diff adds the task feature to `SearchSpaceDigest.bounds`, `SearchSpaceDigest.feature_names`, and `MultiTaskDataset.feature_names` in order to be explicity about all features/bounds. This requires also adding the task feature as a fixed feature before generating, predicting, and cross-validating.
Reviewed By: saitcakmak
Differential Revision: D77905821
0 commit comments