Graphing Models

pymc3.model_graph.model_to_graphviz(model=None)

Produce a graphviz Digraph from a PyMC3 model.

Requires graphviz, which may be installed most easily with

conda install -c conda-forge python-graphviz

Alternatively, you may install the graphviz binaries yourself, and then pip install graphviz to get the python bindings. See http://graphviz.readthedocs.io/en/stable/manual.html for more information.