-
Notifications
You must be signed in to change notification settings - Fork 427
Support categoricals in alternating optimization #2866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
8a08572
Initial setup for introducing categorical dims
TobyBoyne 07ddd83
Implement categorical neighbors
TobyBoyne a58b7e7
Add initial sampling for categorical-mixed feature spaces
TobyBoyne 01a4c10
Add perturbation of cat features in discrete step
TobyBoyne 87bf8c4
Test for existence of integer/cat dimensions; begin writing test
TobyBoyne e7858f6
Untransform OneHotToNumeric
TobyBoyne 83d9069
Update botorch/optim/optimize_mixed.py
TobyBoyne f277b0c
Update botorch/optim/optimize_mixed.py
TobyBoyne 45dad1c
Discrete dims now Noneable; remove repeated input transform
TobyBoyne be461a4
Sample values for large categorical features
TobyBoyne 50fa5ed
Fix tests by passing empty cat_dims
TobyBoyne e344040
Revert failure on purely continuous problem
TobyBoyne 590791f
Add test for get_categorical_neighbors
TobyBoyne 88d0d40
Update botorch/optim/optimize_mixed.py
TobyBoyne f165357
Update botorch/optim/optimize_mixed.py
TobyBoyne 2d92a6e
Update test/optim/test_optimize_mixed.py
TobyBoyne e5586ce
Use Python primitives for constructing categorical neighbors
TobyBoyne f89910d
Update `optimize_acqf_mixed_alternating` docstring to reflect categor…
TobyBoyne d60b7b4
Set manual seed in all `test_optimize_acqf_mixed_*` tests
TobyBoyne 05a0c13
Test random subsampling of categorical values
TobyBoyne 1d7f2a2
Correct private function docstring
TobyBoyne d0c7fc5
Fix randomly sampling `current_x` as neighbor
TobyBoyne 0d8e128
Fix random seed in test
TobyBoyne 4a18054
Merge branch 'main' into optimize-cat-alternating
TobyBoyne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.