From a058bc5a74f76c59e72ab06fa98e8ca2c19cb8e4 Mon Sep 17 00:00:00 2001 From: Arnu Pretorius Date: Thu, 31 Aug 2017 14:33:49 +0200 Subject: [PATCH] Fixed minor error in Bayes theorem --- practical5.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/practical5.ipynb b/practical5.ipynb index 22391e9..481a665 100644 --- a/practical5.ipynb +++ b/practical5.ipynb @@ -125,7 +125,7 @@ "\"Evidence? Of what?,\" you might ask. Bayes's theorem states that\n", "\n", "\\begin{align}\n", - "p_{\\theta}(z|x) & = \\frac{p_{\\theta}(z|x) \\, p(z)}{p_{\\theta}(x)} \\\\\n", + "p_{\\theta}(z|x) & = \\frac{p_{\\theta}(x|z) \\, p(z)}{p_{\\theta}(x)} \\\\\n", "\\textrm{posterior} & = \\frac{\\textrm{likelihood} \\times \\textrm{prior}}{\\textrm{evidence (or marginal likelihood)}}\n", "\\end{align}\n", "\n",