Repository navigation
How do you extract a sampled variable from a submodel? #2541
Unanswered
samanklesaria
asked this question in
Q&A
Replies: 2 comments
|
We had some discussion about this at #2485. (You are very welcome to chime in, btw.) @penelopeysm and @mhauru would know better, but I think we don't yet have a complete interface for what you want at the moment, am I correct? |
0 replies
|
The easiest way is to change what the submodel returns, such that the return value contains the beta parameter -- unfortunately if the model you're using is from a library then I guess that's not an option. In the absence of that, yeah, the best way is to use |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Say I've defined a model
model1that samples the variableβand returnsnothing(perhaps throughTuringGLM). Say I want to use theβvariable sampled bymodel1from within another modelmodel2. The nearest I can get is the following:Is there a cleaner way of doing this?
All reactions