aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2019-02-19 19:26:04 +0100
committerYuchen Pei <me@ypei.me>2019-02-19 19:26:04 +0100
commitd9be3d967f251ee32a0755ec8c3ba58b5c8192cf (patch)
tree915385dd1202f712446b37dd053668c1b7ed7804 /posts
parent0d9bd00fbac8822743973c1b28b64afa75aa5237 (diff)
minor fix
Diffstat (limited to 'posts')
-rw-r--r--posts/2019-02-14-raise-your-elbo.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/posts/2019-02-14-raise-your-elbo.md b/posts/2019-02-14-raise-your-elbo.md
index bcda1d2..ff46f79 100644
--- a/posts/2019-02-14-raise-your-elbo.md
+++ b/posts/2019-02-14-raise-your-elbo.md
@@ -272,7 +272,7 @@ ocurrance of word $x$ in document $d$.
For each datapoint $(d_{i}, x_{i})$,
$$\begin{aligned}
-p(d_i, x_i; \theta) &= \sum_{z_i} p(z; \theta) p(d_i | z_i; \theta) p(x_i | z_i; \theta) \qquad (2.91)\\
+p(d_i, x_i; \theta) &= \sum_{z_i} p(z_i; \theta) p(d_i | z_i; \theta) p(x_i | z_i; \theta) \qquad (2.91)\\
&= p(d_i; \theta) \sum_z p(x_i | z_i; \theta) p (z_i | d_i; \theta) \qquad (2.92).
\end{aligned}$$