-
Notifications
You must be signed in to change notification settings - Fork 18
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
Rep-specific seeds in tar_rep(), tar_map_rep(), etc. #111
Labels
Comments
Hash of the pattern target name and ‘rep_index + n_reps_per_batch * (batch_index - 1)’ |
6 tasks
Should affect most non-deprecated functions with batching:
Also:
|
3 tasks
Fixed in #113 |
I will need to reimplement this along the lines of ropensci/targets#1139. |
From ropensci/targets#1139 (comment), I may not have plans in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prework
Proposal
I originally thought this might obfuscate
targets
' seed-setting behavior, but currently there is a lot of frustration when the batching scheme changes. Ideally the seeds should stay the same whenbatches * reps
stays the same. Atarchetypes
at-runtime function could set its own seed that depends on the pattern target name, batch index, and rep index. These special seeds would be saved with target output.The text was updated successfully, but these errors were encountered: