-
Notifications
You must be signed in to change notification settings - Fork 29
Asktell/variables objectives #1448
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
Merged
jlnav
merged 46 commits into
experimental/jlnav_plus_shuds_asktell
from
asktell/variables_objectives
Dec 4, 2024
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
2b8e537
initial commit - adding variables/objectives to initializer signature…
jlnav 64c2cd1
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 3104240
experiment with UniformSampleDicts using variables/objectiveso
jlnav 3d262fb
i wonder if we can determine lb, ub, and n based on the contents of s…
jlnav 847a617
APOSMM can now accept variables and objectives instead of needing ub,…
jlnav f45ddbe
cleanup the removed validator; since gen_specs['out'] can be absent
jlnav 26f1d73
cleanup/fixes
jlnav 10e96d8
stop kwargs from replacing entire gen_specs.user; try out vars/objs w…
jlnav 23b1549
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 5f777c2
additional experiments with vars/objs, including seeing if we can app…
jlnav ac5467b
moving logic for determining lb and ub from variables into parent cla…
jlnav 85507a4
init pair of functions for mapping, slot in where they'll be called
jlnav fc30284
remove a debugging print
jlnav f9e3cba
small fixes, and first tentative implementation of converter for xs t…
jlnav 14c36fa
perhaps the input conversion will be easier on a numpy array?
jlnav 25299e7
tentatively complete converter for vars/objs -> x/f. but those xs and…
jlnav f0736fb
some cleanup
jlnav 7fa4d1e
fix continue-condition to occur earlier if we're looking at keys we d…
jlnav 14daf3c
test fixes, plus if our gen naturally returns the requested variables…
jlnav 114c7a4
fix asktell_gen functionality test - including removing wrapper tests…
jlnav 507bc0a
just use UniformSample class
jlnav 18a52c9
remove ask/tell surmise and ask/tell surmise test - they were proof-o…
jlnav 231e6f0
fix import
jlnav eaebbff
remove the other ask/tell surmise test
jlnav 043feeb
renable persistent_aposmm unit test
jlnav c380595
preparing to add variables_mapping to LibensembleGenerator parent cla…
jlnav 1e0abd3
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav c7ea54b
intermediate work on passing mapping into np_to_list_dicts. need to p…
jlnav 0ee448c
use mapping to construct list_dicts_to_np dtype when provided
jlnav bb37f4b
additional work on replacing dict keys with xs and fs
jlnav 38b3967
some cleanup of generators.py in anticipation of the changes to the d…
jlnav 4b49233
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 1d213ef
dont try to determine dtype for fields that aren't actually in the in…
jlnav f8c5eaf
finalize mapping support within list_dicts_to_np, now need to refacto…
jlnav dff6bad
refactoring
jlnav c1ec7f6
tiny fixes; need to figure out why aposmm_nlopt reg test is hanging
jlnav a5133b9
runners.py no longer calls setup() on gen
jlnav 9f200f0
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav f2ef248
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 2c6a9c4
lock nlopt to 2.8.0?
jlnav 99a7a2c
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav bc1587e
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 5c2308d
avoid redundant install of nlopt?
jlnav ef906d5
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 902b7f0
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav d66dafb
Merge branch 'experimental/jlnav_plus_shuds_asktell' into asktell/var…
jlnav 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,4 @@ dist/ | |
| .spyproject/ | ||
|
|
||
| .hypothesis | ||
| .pixi | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| from .aposmm import APOSMM # noqa: F401 | ||
| from .sampling import UniformSample, UniformSampleDicts # noqa: F401 | ||
| from .surmise import Surmise # noqa: F401 |
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
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
This file was deleted.
Oops, something went wrong.
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested if these are in kargs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I forget to comment out my lb/ub line I get:
...persistent_aposmm.py", line 326, in update_local_H_after_receiving
local_H[name][Work["libE_info"]["H_rows"]] = calc_in[name]
ValueError: shape mismatch: value array of shape (4,6) could not be broadcast to indexing result of shape (4,3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was with our branches merged.