-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: #2972 This diff updates `Acquisition.optimize` to utilize `optimize_acqf_mixed_alternating` when - there are no categorical features (except for those handled by transforms), - all ordinal features are integer valued, - and there are more than `ALTERNATING_OPTIMIZER_THRESHOLD` combinations of discrete choices. `optimize_acqf_mixed_alternating` will be more efficient than `optimize_acqf_mixed` when there are many combinations of discrete choices. The other conditions are current limitations of the optimizer. The current choice of `ALTERNATING_OPTIMIZER_THRESHOLD = 10` is somewhat arbitrary. Reviewed By: susanxia1006 Differential Revision: D65066344 fbshipit-source-id: b2c24edd00755b210defe06ae9a065d617d6bdc0
- Loading branch information
1 parent
8562ea9
commit d1e65c5
Showing
5 changed files
with
188 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.