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} $$