TikZ library for drawing Bayesian networks, graphical models and (directed) factor graphs in LaTeX.
Forked from jluttine's original library
The main differences are:
-
removal of
latent
,det
andobs
and introduction of a Discrete (square) and a Continous (circle) version of each -
the deterministic node is no longer a diamond, but a double bordered square or circle
-
minimal modifications with the style
everything's a little darker...
Everything else is just as it used to in jluttine's version
Install the package by copying tikzlibrarybayesnetWLee.code.tex to your LaTeX system or copy the file into projects that are using it. To use the library in your LaTeX file
\usepackage{tikz}
\usetikzlibrary{bayesnetWLee}
pdflatex example.tex
And compare example.tex with example.pdf
- Finish example.tex
Because I needed it for a College work and we used the Wagenmakers & Lee conventions.
Also, it adds some expressivity to the Bayesian Networks