From a69ae4ecfc0ee9170cf1cf8287e9f3c80bc30f2f Mon Sep 17 00:00:00 2001 From: CycleUser Date: Wed, 24 Nov 2021 19:18:13 +0800 Subject: [PATCH] Update cs229-notes2.md --- Markdown/cs229-notes2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Markdown/cs229-notes2.md b/Markdown/cs229-notes2.md index c3ec58e..240fa8a 100644 --- a/Markdown/cs229-notes2.md +++ b/Markdown/cs229-notes2.md @@ -284,7 +284,7 @@ $$ $$ \begin{aligned} -p(y=1|x) &= \frac{ \prod^n_{i=1} p(x_i|y=1)p(y=1) } {\prod^n_{i=1} p(x_i|y=1)p(y=1) +\prod^n_{i=1} p(x_i|y=1)p(y=0) }\\ +p(y=1|x) &= \frac{ \prod^n_{i=1} p(x_i|y=1)p(y=1) } {\prod^n_{i=1} p(x_i|y=1)p(y=1) +\prod^n_{i=1} p(x_i|y=0)p(y=0) }\\ &= \frac00\\ \end{aligned} $$