We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6cfc23 commit d4defa1Copy full SHA for d4defa1
1 file changed
P/bern-kl.md
@@ -48,7 +48,7 @@ which, applied to the [Bernoulli distributions](/D/bern) in \eqref{eq:berns}, yi
48
$$ \label{eq:bern-KL-s1}
49
\begin{split}
50
\mathrm{KL}[P\,||\,Q] &= \sum_{x \in \left\lbrace 0,1 \right\rbrace} p(x) \, \ln \frac{p(x)}{q(x)} \\
51
-&= p(X=0) \cdot \ln \frac{p(X=0)}{q(X=0)} + p(X=0) \cdot \ln \frac{p(X=0)}{q(X=0)} \; .
+&= p(X=0) \cdot \ln \frac{p(X=0)}{q(X=0)} + p(X=1) \cdot \ln \frac{p(X=1)}{q(X=1)} \; .
52
\end{split}
53
$$
54
0 commit comments