Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Update cs229-notes2.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pangdulu committed Nov 24, 2021
1 parent 5c68397 commit a69ae4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Markdown/cs229-notes2.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
$$
Expand Down

0 comments on commit a69ae4e

Please sign in to comment.