bnp

Some older Bayesian nonparametrics research.
git clone git://git.jtobin.io/bnp.git
Log | Files | Refs | README | LICENSE

fmm_collapsed.tex (686B)


      1 \documentclass{standalone}
      2 \usepackage{tikz}
      3 \usetikzlibrary{positioning}
      4 \usetikzlibrary{fit}
      5 
      6 \begin{document}
      7 
      8 \begin{tikzpicture}
      9   \tikzstyle{random}=[
     10       circle, minimum size = 10mm, thick
     11     , draw = black!80
     12     , node distance = 16mm
     13     ]
     14   \tikzstyle{observed}=[
     15       circle, minimum size = 10mm, thick
     16     , draw = black!80, fill = black!10
     17     , node distance = 16mm
     18     ]
     19   \tikzstyle{connect}=[-latex, thick]
     20   \tikzstyle{plate}=[rectangle, draw = black!100]
     21 
     22   \node[random] (z) { $z_{i}$ };
     23   \node[observed] (y) [below of = z] { $y_{i}$ };
     24 
     25   \path (z) edge [connect] (y);
     26 
     27   \node[plate, inner sep = 1.0mm, fit = (z) (y)] { };
     28 
     29 \end{tikzpicture}
     30 
     31 \end{document}