-
Notifications
You must be signed in to change notification settings - Fork 313
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
Latest observations from MapData #3112
base: main
Are you sure you want to change the base?
Conversation
This pull request was exported from Phabricator. Differential Revision: D66434621 |
f9afc32
to
9027a1d
Compare
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
This pull request was exported from Phabricator. Differential Revision: D66434621 |
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
9027a1d
to
fd76ff0
Compare
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
This pull request was exported from Phabricator. Differential Revision: D66434621 |
fd76ff0
to
e25946f
Compare
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
This pull request was exported from Phabricator. Differential Revision: D66434621 |
e25946f
to
7f8f3b3
Compare
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
This pull request was exported from Phabricator. Differential Revision: D66434621 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3112 +/- ##
=======================================
Coverage 95.42% 95.42%
=======================================
Files 493 493
Lines 49949 49974 +25
=======================================
+ Hits 47662 47689 +27
+ Misses 2287 2285 -2 ☔ View full report in Codecov by Sentry. |
Summary: * Provide a new method `latest` for `MapData` to retrieve the n most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed n values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. * Modify the "upcast" df property to leverage `latest`, which is a special case with n=1. Differential Revision: D66434621
7f8f3b3
to
0105f0e
Compare
This pull request was exported from Phabricator. Differential Revision: D66434621 |
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
0105f0e
to
1efcb42
Compare
facebook#3112) Summary: * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
This pull request was exported from Phabricator. Differential Revision: D66434621 |
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
facebook#3112) Summary: * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
1efcb42
to
652714f
Compare
This pull request was exported from Phabricator. Differential Revision: D66434621 |
Summary: Pull Request resolved: facebook#3112 Differential Revision: D66434621
facebook#3112) Summary: * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
652714f
to
4523b8a
Compare
This pull request was exported from Phabricator. Differential Revision: D66434621 |
…re (facebook#3023) Summary: Pull Request resolved: facebook#3023 This implements a new transform, `MetadataToRange`, which extracts specified fields from each `ObservationFeature` instance's metadata and incorporates them as parameters. Furthermore, it updates the search space to include the specified field as a `RangeParameter` with bounds determined by observations provided during initialization. This process involves analyzing the metadata of each observation feature and identifying relevant fields that need to be included in the search space. The bounds for these fields are then determined based on the observations provided during initialization. Differential Revision: D65430943
…aults for MapData (facebook#3155) Summary: Pull Request resolved: facebook#3155 Differential Revision: D66945078
…ta to Observations (facebook#3001) Summary: Pull Request resolved: facebook#3001 This updates `observations_from_data` to include progression info as observation feature metadata by default. More specifically: - Updates `observations_from_data` to subsume behavior of `observations_from_map_data` as special case. - Updates calls to `observations_from_map_data` to instead call `observations_from_data` - Removes `observations_from_map_data` which is used exclusively by `MapTorchModelBridge` Differential Revision: D65255312 Reviewed By: saitcakmak
… rate for MapData (facebook#3106) Summary: Pull Request resolved: facebook#3106 This refines the logic for calculating per-metric subsampling rates in `MapData.subsample` and incorporates a (probably premature) performance optimization, achieved by utilizing binary search on a sorted list instead of linear search. Differential Revision: D66366076 Reviewed By: Balandat
facebook#3112) Summary: Pull Request resolved: facebook#3112 * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
4523b8a
to
50896d4
Compare
This pull request was exported from Phabricator. Differential Revision: D66434621 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D66434621 |
facebook#3112) Summary: Pull Request resolved: facebook#3112 * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
50896d4
to
15d6240
Compare
facebook#3112) Summary: Pull Request resolved: facebook#3112 * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
This pull request was exported from Phabricator. Differential Revision: D66434621 |
15d6240
to
cad9e38
Compare
…a, [Ax][WIP/Not Ready] Putting it all together (subclass TorchModelBridge) (facebook#3112) Summary: Pull Request resolved: facebook#3112 * Provide a new method `latest` for `MapData` to retrieve the *n* most recently observed values for each (arm, metric) group, determined by the `map_key` values, where higher implies more recent. * Update `observations_from_data` to optionally utilize `latest` and retain only the most recently observed *n* values (the new option, if specified alongside the existing subsampling options, will now take precedence). * Modify the "upcast" `MapData.df` property to leverage `latest`, which is a special case with *n=1*. * Revise the docstring to reflect changes in the pertinent methods, as well as update related methods like `subsample` to ensure uniform and consistent writing. Differential Revision: D66434621
Differential Revision: D66434621