-
Notifications
You must be signed in to change notification settings - Fork 244
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
numpyro.render_model render unexpected graph with handler.do #1716
Comments
Yeah, this is an issue. Just curious: will there be a link from alpha to beta? The log density of beta depends on alpha, so I guess there will be a link (like the links from latent variables to the observations). But I'm not sure if there is an interpretation of |
I think it does not make sense to consider the log density of beta under |
I guess it implies that |
@fehiepsi I found pymc example. They describe intervened variables using grey circle with assigned value. |
Sorry for taking too long responding to this thread. The do operator follows Single World Intervention Graphs semantics so the current graph is expected. But it would be nice to make it clear that Edit it seems to be tricky because we can't process (hence trace) the intervention message. |
Similar to #1710.
The reproduced code is as follows.
This code render the graph below.
But expected is the edge between alpha and beta is cut and the edge between beta and gamma exists.
The text was updated successfully, but these errors were encountered: