Skip to content

Struggling with simulation setup #343

Closed Answered by wlandau
alexpghayes asked this question in Help
Discussion options

You must be logged in to vote

Hi Alex!

(Side note: I realize I could pass the model parameters to the loss function and return them with other loss information, but this seems a bit like a hack)

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 as estimate_full_svds and full_sample_graph. Branch provenance is hard when the branching is dynamic.

Currently I only sample once for each combination of parame…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@alexpghayes
Comment options

@wlandau
Comment options

Answer selected by alexpghayes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants