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

prepare back-transformation analysis pipeline needs reorganising - duplicated components #104

Closed
egouldo opened this issue Aug 12, 2024 · 1 comment · Fixed by #112
Closed
Assignees
Labels
breaking change ☠️ API change likely to affect existing code manuscript upkeep maintenance, infrastructure, and similar

Comments

@egouldo
Copy link
Owner

egouldo commented Aug 12, 2024

  • prepare_ManyEcoEvo_yi() calls clean_response_transformation()
  • back_transform_response_vars_yi() calls assign_transformation_type() and convert_predictions()
  • standardise_response() calls assign_transformation_type() and convert_predictions(), seems to duplicate the workflow in back_transform_response_vars_yi()
@egouldo egouldo added manuscript breaking change ☠️ API change likely to affect existing code upkeep maintenance, infrastructure, and similar labels Aug 12, 2024
@egouldo egouldo added this to the Software Manuscript Submit milestone Aug 12, 2024
@egouldo egouldo self-assigned this Aug 12, 2024
@egouldo
Copy link
Owner Author

egouldo commented Aug 12, 2024

Note that this needs to be addressed first in order to deal with #88

egouldo added a commit that referenced this issue Aug 12, 2024
- #104 mv `assign_transformation_type()` and `convert_predictions()` out of `standardise_response()` into `back_transform_response_vars_yi()`
- Call `back_transform_response_vars_yi()` in `prepare_response_variables()` for yi workflow (was not being called currently) #104
- #104 keep addition of `param_table` inside `standardise_response()`
egouldo added a commit that referenced this issue Aug 12, 2024
egouldo added a commit that referenced this issue Aug 12, 2024
egouldo added a commit that referenced this issue Aug 12, 2024
- don't return out early (after backtransformation, need to standardise still!) #104
- standardise on the results of backtransformation `out`, if applied, and if not, use `out` prior to backtransformation, and backtransform on original `out` #104
egouldo added a commit that referenced this issue Aug 12, 2024
…`standardise_response()`

- incorrect use of pipe operator returned TRUE when one expression eval'd to TRUE, but we want it to return FALSE if *any* exprs eval to FALSE.
egouldo added a commit that referenced this issue Aug 12, 2024
egouldo added a commit that referenced this issue Aug 12, 2024
egouldo added a commit that referenced this issue Aug 12, 2024
…`dat` may or may not have the required `dataset` column.
egouldo added a commit that referenced this issue Aug 12, 2024
- don't expect any identifier col other than `id_col` exists
- don't expect `transformation`, or `response_transformation_status` exists
- expect `response_variable_name` exists
egouldo added a commit that referenced this issue Aug 12, 2024
egouldo added a commit that referenced this issue Aug 12, 2024
egouldo added a commit that referenced this issue Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change ☠️ API change likely to affect existing code manuscript upkeep maintenance, infrastructure, and similar
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant