-
I've been building a pipeline with plain I've already figured out a way to adapt the pipeline using Mostly I'd just like to understand these choices as they seem a bit haphazard though I'm sure there's some underlying reason for them. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Target factories aim to simplify the user experience for well-understood domain-specific workflows such as Bayesian data analysis. Part of this is abstracting away dynamic branching so users do not need to think about it. https://ropensci.org/blog/2021/02/03/targets/. |
Beta Was this translation helpful? Give feedback.
-
So the suggestion is to go back to The reason I can not do replications is because each of the replications consists of 5 bayesian models executed sequentially, so my whole pipeline is N branches with 5 models executed sequentially in each branch. Each model is, of course, 4 chains, 10000 iterations ;( Found this repo. Thanks for good examples! |
Beta Was this translation helpful? Give feedback.
tar_stan_mcmc()
deliberately blocks dynamic branching. The intent is to analyze one dataset with a small number of models and create targets for each of the output types for each model: the cmdstan fit object, summaries, draws, and HMC diagnostics.tar_stan_mcmc_rep_sumamry()
blockspattern
so there is less room for user error with dynamic branching. The only dynamic branching is tightly controlled through batches and reps.Target factories aim to simplify the user experience for well-understood domain-specific workflows such as Bayesian data analysis. Part of this is abstracting away dynamic branching so users do not need to think about it. https://ropensci.org/blog/2021/02/03/targets/.