aboutsummaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2019-02-20 14:17:07 +0100
committerYuchen Pei <me@ypei.me>2019-02-20 14:17:07 +0100
commit219e0cb75f2177075c95ffcd5478e304dda2bf05 (patch)
treefd2a7d87603d2377b191755d53d871dad994c17e /posts
parentda9ebda8257bf3b5fc1654fbfc297df2fbd4490c (diff)
minor fix due to u/radarsat1
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 e6d8c18..43a841a 100644
--- a/posts/2019-02-14-raise-your-elbo.md
+++ b/posts/2019-02-14-raise-your-elbo.md
@@ -208,7 +208,7 @@ so we write $\eta_k = (\mu_k, \Sigma_k)$,
During E-step, the $q(z_i)$ can be directly computed using Bayes'
theorem:
-$$r_{ik} = \mathbb P(z_i = k | x_{i}; \theta_t)
+$$r_{ik} = q(z_i = k) = \mathbb P(z_i = k | x_{i}; \theta_t)
= {g_{\mu_{t, k}, \Sigma_{t, k}} (x_{i}) \pi_{t, k} \over \sum_{j = 1 : n_z} g_{\mu_{t, j}, \Sigma_{t, j}} (x_{i}) \pi_{t, j}},$$
where