Skip to content

Commit

Permalink
Removed PNG examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jluttine committed Sep 10, 2012
1 parent d7807b5 commit 7e908c9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 21 deletions.
13 changes: 0 additions & 13 deletions generate_images.sh

This file was deleted.

Binary file removed model-citation-influence.png
Binary file not shown.
Binary file removed model-lda.png
Binary file not shown.
Binary file removed model-pca.png
Binary file not shown.
15 changes: 7 additions & 8 deletions model_pca2.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@
% Define nodes

% Y
\node[obs] (y) {$y$}; %
\node[obs] (y) {$y$}; %
\factor[above=of y] {y-f} {left:$\mathcal{N}$} ; %

% W and X
\node[det, above=of y-f] (wx) {dot} ; %
\node[latent, above=of wx, xshift=-1.5cm] (w) {$\mathbf{w}$}; %
\node[latent, above=of wx, xshift=1.5cm] (x) {$\mathbf{x}$}; %
\node[det, above=of y-f] (wx) {dot} ; %
\node[latent, above=of wx, xshift=-1.5cm] (w) {$\mathbf{w}$}; %
\node[latent, above=of wx, xshift=1.5cm] (x) {$\mathbf{x}$}; %

% W hyper
\node[const, above=1.2 of w, xshift=-0.5cm] (mw) {$\mu_w$} ; %
\node[const, above=1.2 of w, xshift=0.5cm] (aw) {$\alpha_w$} ; %
\node[const, above=1.2 of w, xshift=0.5cm] (aw) {$\alpha_w$} ; %
\factor[above=of w] {w-f} {left:$\mathcal{N}$} ; %
\factoredge {mw,aw} {w-f} {w} ;

% X hyper
\node[const, above=1.2 of x, xshift=-0.5cm] (mx) {$\mu_x$} ; %
\node[const, above=1.2 of x, xshift=0.5cm] (ax) {$\alpha_x$} ; %
\node[const, above=1.2 of x, xshift=0.5cm] (ax) {$\alpha_x$} ; %
\factor[above=of x] {x-f} {left:$\mathcal{N}$} ; %
\factoredge {mx,ax} {x-f} {x} ;

Expand All @@ -37,10 +37,9 @@
% Connect the nodes
\edge[-] {w,x} {wx} ;
\factoredge {wx,t} {y-f} {y} ; %
%\edge {a} {w} ; %
%\edge {x,w,t} {y} ; %

% Plates
% First, an invisible wrapper to enlarge the other plate
\node[fit=%
(y)(y-f)(y-f-caption) %
(x)(x-f)(x-f-caption) %
Expand Down

0 comments on commit 7e908c9

Please sign in to comment.