-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MapData support for benchmarking (#3058)
Summary: Pull Request resolved: #3058 **`BenchmarkMapMetric`** * A `MapMetric`, returning `MapData`. * Receives an entire learning curve and looks to the backend simulator to see whether to return partial data, if the trial has still been running or has been early-stopped. **`BenchmarkTestFunction`** * Now produces a 2d tensor rather than a 1d tensor, with the second dimension being the progression along the learning curve or time series. * Always produces the entire learning curve or time series. If we only observe partial data, `BenchmarkMapMetric` will handle that. **`BenchmarkRunner`** * Always produces the entire learning curve or time series. If we only observe partial data, `BenchmarkMapMetric` will handle that. * Now works with Pandas DataFrames rather than torch tensors, to make it easier to track the values of "metric_name", "arm_name", and (newly added) "t". This also minimizes the amount of work tha tneeds to be done by `BenchmarkMetric` and `BenchmarkMapMetric`. * Adds IID noise to each element of a time series. We can add more sophisticated noise generators in the future. **`benchmark_problem.py`** Updated a helper function for getting an optimization config so that it can use `BenchmarkMapMetrics` **`BenchmarkTrialMetadata`** Now stores a dataframe that is formatted the same as the data that will eventually be on `Data.df` and `MapData.df` TODO: * Allow for different epochs to take different lengths of time, based on parameters. Reviewed By: Balandat Differential Revision: D64198634 fbshipit-source-id: b69df0618de77638bbcf6b4b6d115bbdcd5feb2b
- Loading branch information
1 parent
241ad71
commit 0cab5d2
Showing
10 changed files
with
625 additions
and
177 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
Oops, something went wrong.