forked from facebook/Ax
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep map_key columns in MapData.df attribute (facebook#2701)
Summary: `MapData` has an attribute `df` that takes only the last row from each of `map_df`'s trial-arm-metric groups (when sorted by map_key values), and drops `map_key` columns. This diff makes it so that `map_key` columns are still present in the `df` attribute, showing their values for each kept row. This will make it easier to understand and model partially complete trials in the future. [RfC] I've patched up a few tests that assert these dataframes have a specific form, but there don't seem to be any tests failing for functional reasons (since the unused map_key columns would just go unused if not needed). Putting this up as an RfC though in case others feel strongly that these columns should be dropped. Reviewed By: Balandat Differential Revision: D61730570 fbshipit-source-id: 0f09b357e0382b48a42b61d5c0f5a63206736196
- Loading branch information
1 parent
c76f52f
commit cc05718
Showing
3 changed files
with
8 additions
and
7 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