-
-
Notifications
You must be signed in to change notification settings - Fork 986
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
Render deterministic functions of random variables #3134
Comments
Hi @Eric-Bradford this looks like a bug to me, let me take a look at what might be causing it... |
Hi @fritzo, that would be great thanks! |
OK, this is not a bug, merely a historical design choice (pyro.infer.inspect originated as an inference tool that was concerned with only latent variables, hence it ignored deterministic dependencies). I've started sketching support for this feature in a branch but it's a little more complex than I expected due to low-level provenance tracking issues. Working on it... |
See also this forum discussion |
Have been any advances on this? |
I believe there has been no progress, but @eb8680 was looking into it around 6 months ago. |
Is there any plan to implement this in the short time? I've tried patching it somehow but I got lost... |
@r3v1 no, sorry, it's unlikely I/we will have the bandwidth to fix this ourselves any time soon. You're welcome to play around with the branch linked above and see if you can get it working yourself. |
Thanks anyway. I tried but it was quite difficult for me to understand what is going on behind the scenes, I would take it more deeply if I had some documentation, by the way, do you have any resources about? |
I would like to show variables explicitly using "render_model" that are functions of other variables. I tried using "deterministic" or "Delta distribution" for this purpose, but this seems to not propagate like other distributions, e.g.
If I define sd as a normal distribution it shows the connection between sd and obs correctly, but with "Delta" the connection is not shown. How can I define sd as a function of m that would show this connection?
The text was updated successfully, but these errors were encountered: