Skip to content

refactor: make names of wrapper functions more generic#37

Merged
hollandjg merged 10 commits intofeat/default-state-from-main-experimentalistsfrom
feat/rename-special-wrapper-functions
Aug 15, 2023
Merged

refactor: make names of wrapper functions more generic#37
hollandjg merged 10 commits intofeat/default-state-from-main-experimentalistsfrom
feat/rename-special-wrapper-functions

Conversation

@hollandjg
Copy link
Copy Markdown
Member

@hollandjg hollandjg commented Jul 18, 2023

Make more generic wrapper function names:

  • state_fn_from_estimator
  • state_fn_from_x_to_y_fn_df
  • state_fn_from_x_to_xy_fn_df

The experiment_runner functions are at present only designed to work on dataframes which include column names – for numpy array support, we'd need new wrappers which also take into account the variables to validate the shape of the arrays returned.

Relevant issues:

Todos:
Doctests:

  • state_fn_from_estimator
  • state_fn_from_x_to_y_fn_df
  • state_fn_from_x_to_xy_fn_df

Deleted:

  • state_fn_from_pipeline (no longer compatible with StandardState, not clear that we need this or how exactly it should look)

@hollandjg hollandjg requested review from benwandrew, musslick and younesStrittmatter and removed request for benwandrew July 18, 2023 22:26
@hollandjg hollandjg self-assigned this Jul 18, 2023
@hollandjg hollandjg requested a review from benwandrew July 19, 2023 13:31
@hollandjg hollandjg marked this pull request as ready for review July 19, 2023 14:28
@hollandjg hollandjg changed the base branch from main to feat/default-state-from-main-experimentalists July 19, 2023 14:29
Comment thread src/autora/state/wrapper.py Outdated
Copy link
Copy Markdown
Contributor

@benwandrew benwandrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@hollandjg hollandjg merged commit 982d225 into feat/default-state-from-main-experimentalists Aug 15, 2023
@hollandjg hollandjg deleted the feat/rename-special-wrapper-functions branch August 15, 2023 12:49
hollandjg pushed a commit that referenced this pull request Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: make names of wrapper functions more generic

2 participants