% example.tex
%
% Copyright (C) 2010,2011 Laura Dietz
% Copyright (C) 2012 Jaakko Luttinen
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU General Public License.
%
% See the files LICENSE_LPPL and LICENSE_GPL for more details.
\documentclass[a4paper]{article}
\usepackage{tikz}
\usetikzlibrary{bayesnet}
%\pgfrealjobname{example} % name of this file
\title{Graphical Models in Tikz}
\author{Laura Dietz, Jaakko Luttinen}
\begin{document}
\maketitle
TikZ examples for graphical models (Bayesian networks) and directed
factor graphs \cite{Dietz:2010}.
% Simple Bayesian network
\begin{figure}[ht]
\begin{center}
\begin{tabular}{cc}
\input{model_pca} &
\input{model_pca2}
\end{tabular}
\end{center}
\caption{PCA model as a Bayesian network and a directed factor
graph.}
\end{figure}
% Citation influence model
\begin{figure}[ht]
\begin{center}
\input{model_citation_influence}
\end{center}
\caption{Citation influence model with own topics \cite{Dietz:2007}
as directed factor graph.}
\end{figure}
\clearpage
\begin{thebibliography}{9}
\bibitem{Dietz:2010}
Laura Dietz,
\emph{Directed Factor Graph Notation for Generative Models}.
Technical Report. 2010
% Laura Dietz, Steffen Bickel, Tobias Scheffer.
% Unsupervised Prediction of Citation Influences.
% In: Proceedings of International Conference on Machine Learning. 2007
\bibitem{Dietz:2007}
Laura Dietz, Steffen Bickel, Tobias Scheffer,
\emph{Unsupervised Prediction of Citation Influences}.
In: Proceedings of International Conference on Machine
Learning. 2007
\end{thebibliography}
\end{document}
%%% Local Variables:
%%% mode: tex-pdf
%%% TeX-master: t
%%% End: