Skip to content
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

Major changes on the Experiment data structure #14

Open
wookayin opened this issue Nov 27, 2022 · 0 comments
Open

Major changes on the Experiment data structure #14

wookayin opened this issue Nov 27, 2022 · 0 comments
Labels
new feature New feature request

Comments

@wookayin
Copy link
Owner

Goal: Make Experiment a hierarchically structured data structure (with a MultiIndex-ed DataFrame) of multiple hypotheses, providing a lot of handy APIs to query and select individual hypotheses and runs.

wookayin added a commit that referenced this issue Nov 27, 2022
- df: a MultiIndex-ed DataFrame w.r.t config keys

- config_keys: The list of (index) keys to run config, e.g.,
  hyperparameters to compare.

- summary_columns: The list of additional columns to be included in the
  dataframe, obtained via `Hypothesis.summary`. Note: `ex.plot()` will
  now respect this information rather than drawing for all the columns.
wookayin added a commit that referenced this issue Dec 13, 2022
These are shorthands for RunList.to_dataframe() followed by
Experiment.from_dataframe(). See #14.
wookayin added a commit that referenced this issue Dec 13, 2022
With the dataframe structure enclosed in Experiment (#14), we can now
have a more flexible pandas-like API (see df.query) to select a subset
of hypotheses in an Experiment.
@wookayin wookayin added the new feature New feature request label Dec 16, 2022
wookayin added a commit that referenced this issue Dec 19, 2022
`Experiment.with_config_keys(new_config_keys)` returns a new Experiment
object with the same hypotheses but with then another list of config
keys; useful for reordering the hyperparameters.

See #14.
wookayin added a commit that referenced this issue Feb 14, 2023
A filter function fn: Hypothesis -> bool can be used to select
a subset of rows in the Experiment. This generalizes the previous
method Experiment.select(expr) where expr is a pandas-compatible
query string expression.

See #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant