diff options
author | Yuchen Pei <me@ypei.me> | 2019-02-19 19:10:36 +0100 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2019-02-19 19:10:36 +0100 |
commit | 1ccf6c12570185aa7ca8399454e5c523712128aa (patch) | |
tree | 59ce57002d2bd5760ae7fe7e12cfcd35b77b8156 | |
parent | 1e3b8940b5ff8914c09ea99cc411167206faf937 (diff) |
minor fix
-rw-r--r-- | posts/2019-02-14-raise-your-elbo.md | 2 |
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 cf3911f..eeb115e 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 = x_{i}; \theta_t) +$$r_{ik} = \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 |