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

refactor: make names of wrapper functions more generic #37

Conversation

hollandjg
Copy link
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 younesStrittmatter, benwandrew and musslick 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
Copy link
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