Struggling with simulation setup #343
-
Thank you for this wonderful package! I am excited to become more capable with it! I am working on simulations at https://github.com/alexpghayes/citation-impute-simulations/tree/no_fastadi (should be fully reproducible). So far I have a basic My current approach goes like this: First I take a bunch of model parameters and combine them together into a tibble of model parameters. Then, for each set of model parameters, I sample some data from the model with those parameters. For each dataset sampled from the model associated with a particular set of parameters, I compute three different estimates. Then I compare these estimates to the population values (which also take some computation to compute). Finally I combine all the losses together. I am struggling with:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Alex!
I actually think this is a perfectly good pattern as long as the parameters can be cleanly joined on and do not take up much space. In fact, I often recommend it in situations that require postprocessing the output and parameters together. Otherwise,
Since you already create a bunch (I assume hundreds) of targets with dynamic branching, it might be appropriate to just perform all reps within each of the existing branches (e.g.
I cannot access the repo. |
Beta Was this translation helpful? Give feedback.
Hi Alex!
I actually think this is a perfectly good pattern as long as the parameters can be cleanly joined on and do not take up much space. In fact, I often recommend it in situations that require postprocessing the output and parameters together. Otherwise,
tar_branches()
may help trace the relationships between the individual branches of dynamically branched targets such asestimate_full_svds
andfull_sample_graph
. Branch provenance is hard when the branching is dynamic.