-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Graphing Models #876
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
Comments
I think it would be nice to have the graph rendered using the Kruschke-style-diagrams, here there are some templates that could be really useful. |
@henripal Thanks for your interest, that would certainly be a valuable addition. The first to look into is how you could traverse the model graph as pymc3 does not have an explicit representation of parents and children. |
BTW, if you are having PyDot issues in Python 3, try installing PyDot 2.
|
I like the Kruschke-style graphs, as well! Let me take a look at the code and see if I can figure out a way of doing this. (thanks for the pydot2 rec, too, I tried it and got it to work, albeit after a significant amount of tweaking) |
Hey, so I looked hard at the code and follow the broad lines of the architecture, but find it to be rough going. I tried getting graphs from the Theano layer, to no avail, most likely for the reason @twiecki mentioned. I'm still interested, but need to hone the OOP side of my Python skills (open to suggestions on how to best do this!) before being able to actually solve this. I'll be back when I get enough XP to get to the next level :) Thanks everyone for your time! |
Closing. I encourage a PR for anyone interested in tackling DAG plotting. |
The model graphing in PyMC is really useful! But PyDot/Graphviz doesn't play well with python 3 and produces graphs that are a little lackluster, and the graphing capability is absent from PyMC3.
I'm very much intermediate level but if someone else thought it was useful and someone was willing to help me out a little at the beginning, I'd be happy to try and contribute this feature to the project!
Some nice looking Neo4j based graphing options
The text was updated successfully, but these errors were encountered: